mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
history purge
This commit is contained in:
8
init.d/openwrt/90-zapret
Normal file
8
init.d/openwrt/90-zapret
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
ZAPRET=/etc/init.d/zapret
|
||||
[ -x "$ZAPRET" ] && [ "$INTERFACE" = "lan" ] && {
|
||||
[ "$ACTION" = "ifup" ] && {
|
||||
$ZAPRET enabled && $ZAPRET restart
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user