mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 14:53:18 +00:00
installer.sh : fix restarting fw4 firewall
This commit is contained in:
parent
2839293430
commit
a4e36eb067
@ -402,8 +402,10 @@ restart_openwrt_firewall()
|
|||||||
{
|
{
|
||||||
echo \* restarting firewall
|
echo \* restarting firewall
|
||||||
|
|
||||||
fw3 -q restart || {
|
local FW=fw4
|
||||||
echo could not restart firewall
|
[ -n "$OPENWRT_FW3" ] && FW=fw3
|
||||||
|
$FW -q restart || {
|
||||||
|
echo could not restart firewall $FW
|
||||||
exitp 30
|
exitp 30
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user