summaryrefslogtreecommitdiff
path: root/package/net-snmp
diff options
context:
space:
mode:
Diffstat (limited to 'package/net-snmp')
-rw-r--r--package/net-snmp/files/snmpd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/net-snmp/files/snmpd.init b/package/net-snmp/files/snmpd.init
index a1c4503ac..8be660ca4 100644
--- a/package/net-snmp/files/snmpd.init
+++ b/package/net-snmp/files/snmpd.init
@@ -7,7 +7,7 @@
case $1 in
autostop) ;;
autostart)
- [[ $snmpd_flags = NO ]] && exit 0
+ [[ $snmpd = NO ]] && exit 0
exec sh $0 start
;;
start)