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