forked from Ivasoft/openwrt
Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user