aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default/etc/init.d/S45firewall
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-21 14:02:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-21 14:02:53 +0000
commit2afc4e3e6663473610d0f46c9bae925ee2bd251d (patch)
tree6774b82fd38b45494fc668c919d763dae64ab7c1 /package/base-files/default/etc/init.d/S45firewall
parent6b386ef312f4c77b502bdf497b9e19a548b58101 (diff)
downloadmaster-187ad058-2afc4e3e6663473610d0f46c9bae925ee2bd251d.tar.gz
master-187ad058-2afc4e3e6663473610d0f46c9bae925ee2bd251d.tar.bz2
master-187ad058-2afc4e3e6663473610d0f46c9bae925ee2bd251d.zip
add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1519 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/etc/init.d/S45firewall')
-rwxr-xr-xpackage/base-files/default/etc/init.d/S45firewall2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/default/etc/init.d/S45firewall b/package/base-files/default/etc/init.d/S45firewall
index cb779792d5..188b9aaa8a 100755
--- a/package/base-files/default/etc/init.d/S45firewall
+++ b/package/base-files/default/etc/init.d/S45firewall
@@ -4,6 +4,8 @@
${FAILSAFE:+exit}
. /etc/functions.sh
+. /etc/network.overrides
+[ -e /etc/config/network] && . /etc/config/network
WAN=$(nvram get wan_ifname)
LAN=$(nvram get lan_ifname)