mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
12 lines
236 B
Plaintext
12 lines
236 B
Plaintext
|
SCRIPT=$(readlink /etc/init.d/zapret)
|
||
|
if [ -n "$SCRIPT" ]; then
|
||
|
EXEDIR=$(dirname "$SCRIPT")
|
||
|
ZAPRET_BASE=$(readlink -f "$EXEDIR/../..")
|
||
|
else
|
||
|
ZAPRET_BASE=/opt/zapret
|
||
|
fi
|
||
|
|
||
|
. "$ZAPRET_BASE/init.d/openwrt/functions"
|
||
|
|
||
|
zapret_apply_firewall
|