projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a few issues with dynamically assigned interfaces
[openwrt-10.03/.git]
/
package
/
base-files
/
files
/
sbin
/
ifdown
diff --git
a/package/base-files/files/sbin/ifdown
b/package/base-files/files/sbin/ifdown
index f8ce81bcbdcfcbce8de811420112d6d58fbbc7cc..08433c75c6e392f6ab537fdd4513610e871d5b84 100755
(executable)
--- 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"