diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-12 17:02:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-12 17:02:34 +0000 |
commit | bd871924307e5f04fdb6f490fb143bdabd34309e (patch) | |
tree | 92bf5bceb252334085ffc61a9ece288e84bc89a4 /package/base-files/files/sbin | |
parent | 8a62330b65daaeb24c1a367c3df8028d2acfb9ab (diff) | |
download | upstream-bd871924307e5f04fdb6f490fb143bdabd34309e.tar.gz upstream-bd871924307e5f04fdb6f490fb143bdabd34309e.tar.bz2 upstream-bd871924307e5f04fdb6f490fb143bdabd34309e.zip |
fix a few issues with dynamically assigned interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8765 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-x | package/base-files/files/sbin/ifdown | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/ifdown b/package/base-files/files/sbin/ifdown index f8ce81bcbd..08433c75c6 100755 --- a/package/base-files/files/sbin/ifdown +++ b/package/base-files/files/sbin/ifdown @@ -11,6 +11,8 @@ exit } +config_load /var/state/network + # remove the interface's network state FILE=/var/state/network.$$ grep -v "^config_set '$1' " /var/state/network > "$FILE" |