diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-21 14:02:53 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-21 14:02:53 +0000 |
commit | 629b5c0767c8557ab688582bb6bd86c448f8c243 (patch) | |
tree | 57b8983b840371a9290d4ead137ab9ea8f457c5f /openwrt/package/base-files/default/etc/init.d/S45firewall | |
parent | af1defb8112803209042a689abfe38beaf1a4554 (diff) |
add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1519 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/base-files/default/etc/init.d/S45firewall')
-rwxr-xr-x | openwrt/package/base-files/default/etc/init.d/S45firewall | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S45firewall b/openwrt/package/base-files/default/etc/init.d/S45firewall index cb779792d..188b9aaa8 100755 --- a/openwrt/package/base-files/default/etc/init.d/S45firewall +++ b/openwrt/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) |