zapret/init.d/openwrt/90-zapret

9 lines
158 B
Plaintext
Raw Normal View History

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