zapret/init.d/openwrt/90-zapret

9 lines
158 B
Plaintext
Raw Normal View History

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