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 4b55f8bb1e78a6925c932c6f5740d7a3fbba7ef6..39b73539eeff8e38717c4742cea4973da8b181e1 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