From d7303a05a87d054f5f6cdda0962a9959f73de92d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 28 Feb 2006 02:40:14 +0000 Subject: [PATCH] merge apply-firewall.sh and apply.sh SVN-Revision: 3280 --- openwrt/package/webif/files/usr/lib/webif/apply-firewall.sh | 3 --- openwrt/package/webif/files/usr/lib/webif/apply.sh | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 openwrt/package/webif/files/usr/lib/webif/apply-firewall.sh diff --git a/openwrt/package/webif/files/usr/lib/webif/apply-firewall.sh b/openwrt/package/webif/files/usr/lib/webif/apply-firewall.sh deleted file mode 100644 index 8d33ec8831..0000000000 --- a/openwrt/package/webif/files/usr/lib/webif/apply-firewall.sh +++ /dev/null @@ -1,3 +0,0 @@ -HANDLERS_file="${HANDLERS_file} - firewall) mv /tmp/.webif/file-firewall /etc/config/firewall && /etc/init.d/S45firewall;; -" diff --git a/openwrt/package/webif/files/usr/lib/webif/apply.sh b/openwrt/package/webif/files/usr/lib/webif/apply.sh index 04ad9c6e17..31d6ae3217 100644 --- a/openwrt/package/webif/files/usr/lib/webif/apply.sh +++ b/openwrt/package/webif/files/usr/lib/webif/apply.sh @@ -10,6 +10,7 @@ HANDLERS_config=' HANDLERS_file=' hosts) rm -f /etc/hosts; mv $config /etc/hosts; killall -HUP dnsmasq ;; ethers) rm -f /etc/ethers; mv $config /etc/ethers; killall -HUP dnsmasq ;; + firewall) mv /tmp/.webif/file-firewall /etc/config/firewall && /etc/init.d/S45firewall;; ' # for some reason a for loop with "." doesn't work -- 2.30.2