zapret/init.d/openwrt/90-zapret

9 lines
158 B
Plaintext
Raw Normal View History

2021-03-04 16:30:38 +05:00
#!/bin/sh
ZAPRET=/etc/init.d/zapret
[ -x "$ZAPRET" ] && [ "$INTERFACE" = "lan" ] && {
[ "$ACTION" = "ifup" ] && {
$ZAPRET enabled && $ZAPRET restart
}
}