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