netsnmp: don't test if the binaries exist in the init script
The test doesn't make sense. It just exits without any error if the binary doesn't exist, which is silly. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
b77c9d265e
commit
ddd035b87e
@ -14,9 +14,6 @@
|
||||
|
||||
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
|
||||
test -x /usr/sbin/snmpd || exit 0
|
||||
test -x /usr/sbin/snmptrapd || exit 0
|
||||
|
||||
# Defaults
|
||||
export MIBDIRS=/usr/share/snmp/mibs
|
||||
SNMPDRUN=yes
|
||||
|
Loading…
Reference in New Issue
Block a user