openwrt init : more no running at boot hunting

This commit is contained in:
bolvan
2019-05-14 21:05:16 +03:00
parent 7ea288f93a
commit 2a8b0d83cc
2 changed files with 5 additions and 4 deletions

View File

@@ -3,5 +3,4 @@
ZAPRET=/etc/init.d/zapret
[ -x "$ZAPRET" ] && [ "$INTERFACE" = "lan" ] && {
[ "$ACTION" = "ifup" ] && $ZAPRET start
[ "$ACTION" = "ifdown" ] && $ZAPRET stop
}