fix static routes for dynamic interfaces (#1446)
authorFelix Fietkau <nbd@openwrt.org>
Thu, 12 Jul 2007 21:23:23 +0000 (21:23 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 12 Jul 2007 21:23:23 +0000 (21:23 +0000)
SVN-Revision: 7949

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

index 4b55f8b..39b7353 100644 (file)
@@ -35,6 +35,7 @@ case "$ACTION" in
        ifup)
                include /lib/network
                scan_interfaces
+               config_load /var/state/network
                config_foreach "add_route" route
        ;;
 esac