use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
authorFelix Fietkau <nbd@openwrt.org>
Fri, 13 Jul 2007 00:44:41 +0000 (00:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 13 Jul 2007 00:44:41 +0000 (00:44 +0000)
SVN-Revision: 7953

package/base-files/files/etc/hotplug.d/iface/10-routes

index 39b73539eeff8e38717c4742cea4973da8b181e1..de65f28ce866c23330d2ead51ce955b325342c38 100644 (file)
@@ -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