fix a few issues with dynamically assigned interfaces
[openwrt-10.03/.git] / package / base-files / files / sbin / ifdown
index f8ce81bcbdcfcbce8de811420112d6d58fbbc7cc..08433c75c6e392f6ab537fdd4513610e871d5b84 100755 (executable)
@@ -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"