mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-25 07:31:46 +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
|
|
}
|
|
}
|