more cleanups; you guys are getting sloppy
authorMike Baker <mbm@openwrt.org>
Mon, 6 Mar 2006 08:40:02 +0000 (08:40 +0000)
committerMike Baker <mbm@openwrt.org>
Mon, 6 Mar 2006 08:40:02 +0000 (08:40 +0000)
SVN-Revision: 3318

openwrt/package/base-files/default/etc/init.d/S45firewall

index 8a573835e0aab5aad30aa0262422bf8d8ce105d7..8095e19f098982dcaa28df2d8be86fd821fd0f0f 100755 (executable)
@@ -91,8 +91,5 @@ iptables -t nat -N postrouting_rule
 ## USER RULES
 [ -f /etc/firewall.user ] && . /etc/firewall.user
 [ -e /etc/config/firewall ] && {
-       rm -f /tmp/.firewall.sh
-       awk -f /usr/lib/common.awk -f /usr/lib/firewall.awk /etc/config/firewall > /tmp/.firewall.sh
-       . /tmp/.firewall.sh
-       rm -f /tmp/.firewall.sh
+       awk -f /usr/lib/common.awk -f /usr/lib/firewall.awk /etc/config/firewall | ash
 }