From: nbd Date: Thu, 12 Jul 2007 21:23:23 +0000 (+0000) Subject: fix static routes for dynamic interfaces (#1446) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/779f0813633c0697750177fe167167a1447407ec?ds=inline fix static routes for dynamic interfaces (#1446) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 4b55f8bb1..39b73539e 100644 --- a/package/base-files/files/etc/hotplug.d/iface/10-routes +++ b/package/base-files/files/etc/hotplug.d/iface/10-routes @@ -35,6 +35,7 @@ case "$ACTION" in ifup) include /lib/network scan_interfaces + config_load /var/state/network config_foreach "add_route" route ;; esac