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