diff --git a/install_easy.sh b/install_easy.sh index c405351..3110026 100755 --- a/install_easy.sh +++ b/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" diff --git a/uninstall_easy.sh b/uninstall_easy.sh index 42433d2..bdb0086 100755 --- a/uninstall_easy.sh +++ b/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()