Browse Source

install_easy : rm firewall.zapret when fw include missing

pull/33/head
bolvan 6 years ago
parent
commit
b4ba0e3d62
  1. 1
      install_easy.sh
  2. 2
      uninstall_easy.sh

1
install_easy.sh

@ -507,6 +507,7 @@ install_openwrt_firewall()
[ -f "$FW_SCRIPT_SRC" ] || {
echo firewall script $FW_SCRIPT_SRC not found. removing firewall include
openwrt_fw_section_del
rm -f "$OPENWRT_FW_INCLUDE"
return
}
echo "linking : $FW_SCRIPT_SRC => $OPENWRT_FW_INCLUDE"

2
uninstall_easy.sh

@ -162,7 +162,7 @@ service_remove_sysv()
"$INIT_SCRIPT" disable
"$INIT_SCRIPT" stop
}
[ -f "$INIT_SCRIPT" ] && rm -f "$INIT_SCRIPT"
rm -f "$INIT_SCRIPT"
}
remove_openwrt()

Loading…
Cancel
Save