mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
install_easy: do not always remove/reinstall fw3 include
This commit is contained in:
parent
8c4102eaef
commit
cae8be6667
@ -861,6 +861,8 @@ install_openwrt()
|
|||||||
install_binaries
|
install_binaries
|
||||||
check_dns
|
check_dns
|
||||||
|
|
||||||
|
FWTYPE_OLD=$FWTYPE
|
||||||
|
|
||||||
echo \* stopping current firewall rules/daemons
|
echo \* stopping current firewall rules/daemons
|
||||||
"$INIT_SCRIPT_SRC" stop_fw
|
"$INIT_SCRIPT_SRC" stop_fw
|
||||||
"$INIT_SCRIPT_SRC" stop_daemons
|
"$INIT_SCRIPT_SRC" stop_daemons
|
||||||
@ -873,7 +875,7 @@ install_openwrt()
|
|||||||
ask_config_offload
|
ask_config_offload
|
||||||
# stop and reinstall sysv init
|
# stop and reinstall sysv init
|
||||||
install_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
|
# free some RAM
|
||||||
clear_ipset
|
clear_ipset
|
||||||
download_list
|
download_list
|
||||||
|
Loading…
Reference in New Issue
Block a user