use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
dbb01d5eaa
commit
e5bfc9ff20
|
@ -35,7 +35,7 @@ case "$ACTION" in
|
|||
ifup)
|
||||
include /lib/network
|
||||
scan_interfaces
|
||||
config_load /var/state/network
|
||||
. /var/state/network
|
||||
config_foreach "add_route" route
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue