installer.sh : fix restarting fw4 firewall

This commit is contained in:
bol-van 2022-06-18 15:19:18 +03:00
parent 2839293430
commit a4e36eb067

View File

@ -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
} }
} }