mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-27 04:30:53 +03: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
|
||
|
}
|
||
|
}
|