summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-13 00:44:41 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-13 00:44:41 +0000
commit05d9e9fa59e39af282154d36b51d9e524b964e20 (patch)
tree7860cc9a0f532cd82331915c0562ae171953704c
parentfa2a6d6883931ef2ea2e6785b5547f0655c72ec7 (diff)
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-a3cf2f4a3e73
-rw-r--r--package/base-files/files/etc/hotplug.d/iface/10-routes2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/hotplug.d/iface/10-routes b/package/base-files/files/etc/hotplug.d/iface/10-routes
index 39b73539ee..de65f28ce8 100644
--- a/package/base-files/files/etc/hotplug.d/iface/10-routes
+++ b/package/base-files/files/etc/hotplug.d/iface/10-routes
@@ -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