mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-29 01:19:03 +00:00
9 lines
158 B
Plaintext
9 lines
158 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
ZAPRET=/etc/init.d/zapret
|
||
|
[ -x "$ZAPRET" ] && [ "$INTERFACE" = "lan" ] && {
|
||
|
[ "$ACTION" = "ifup" ] && {
|
||
|
$ZAPRET enabled && $ZAPRET restart
|
||
|
}
|
||
|
}
|