aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/hotplug.d
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-13 00:44:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-13 00:44:41 +0000
commita366b4ea988b596318717589709dcf55295a1d10 (patch)
tree42c3cc81a67f650fd435c9d4cae76573609ecbe3 /package/base-files/files/etc/hotplug.d
parent1b4380b8edfc66ee57f7d016308fd9d92eea8874 (diff)
downloadupstream-a366b4ea988b596318717589709dcf55295a1d10.tar.gz
upstream-a366b4ea988b596318717589709dcf55295a1d10.tar.bz2
upstream-a366b4ea988b596318717589709dcf55295a1d10.zip
use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
SVN-Revision: 7953
Diffstat (limited to 'package/base-files/files/etc/hotplug.d')
-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