summaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-12 21:23:23 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-12 21:23:23 +0000
commit779f0813633c0697750177fe167167a1447407ec (patch)
treea244d7d684b30aaecae3b28c3a3bbac0a8587666 /package/base-files/files
parent103d133cedde22424839961c3d2ab0113e0c9451 (diff)
fix static routes for dynamic interfaces (#1446)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/etc/hotplug.d/iface/10-routes1
1 files changed, 1 insertions, 0 deletions
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