From: Felix Fietkau Date: Tue, 28 Feb 2006 02:40:14 +0000 (+0000) Subject: merge apply-firewall.sh and apply.sh X-Git-Tag: whiterussian_rc5~105 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d7303a05a87d054f5f6cdda0962a9959f73de92d;p=openwrt%2Fsvn-archive%2Fopenwrt.git merge apply-firewall.sh and apply.sh SVN-Revision: 3280 --- 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