2
0
forked from Ivasoft/openwrt

Here comes the new UCI. Enjoy :)

SVN-Revision: 10367
This commit is contained in:
Felix Fietkau
2008-02-03 06:48:15 +00:00
parent 32f2870131
commit 0cf1a58282
19 changed files with 269 additions and 87 deletions

View File

@@ -11,12 +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"
mv "$FILE" /var/state/network
uci_revert_state network "$1"
include /lib/network
scan_interfaces