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 39b7353..de65f28 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