mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03: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
|
||||
|
||||
fw3 -q restart || {
|
||||
echo could not restart firewall
|
||||
local FW=fw4
|
||||
[ -n "$OPENWRT_FW3" ] && FW=fw3
|
||||
$FW -q restart || {
|
||||
echo could not restart firewall $FW
|
||||
exitp 30
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user