Browse Source

install_easy: do not always remove/reinstall fw3 include

pull/98/head
bol-van 3 years ago
parent
commit
cae8be6667
  1. 4
      install_easy.sh

4
install_easy.sh

@ -861,6 +861,8 @@ install_openwrt()
install_binaries
check_dns
FWTYPE_OLD=$FWTYPE
echo \* stopping current firewall rules/daemons
"$INIT_SCRIPT_SRC" stop_fw
"$INIT_SCRIPT_SRC" stop_daemons
@ -873,7 +875,7 @@ install_openwrt()
ask_config_offload
# stop and reinstall sysv init
install_sysv_init
remove_openwrt_firewall
[ "$FWTYPE_OLD" != "$FWTYPE" -a "$FWTYPE_OLD" = iptables -a -n "$OPENWRT_FW3" ] && remove_openwrt_firewall
# free some RAM
clear_ipset
download_list

Loading…
Cancel
Save