summaryrefslogtreecommitdiff
path: root/package/base-files
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
parent1b4380b8edfc66ee57f7d016308fd9d92eea8874 (diff)
downloadmtk-20170518-a366b4ea988b596318717589709dcf55295a1d10.zip
mtk-20170518-a366b4ea988b596318717589709dcf55295a1d10.tar.gz
mtk-20170518-a366b4ea988b596318717589709dcf55295a1d10.tar.bz2
use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
SVN-Revision: 7953
Diffstat (limited to 'package/base-files')
-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 39b7353..de65f28 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