aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-12 21:23:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-12 21:23:23 +0000
commit387b9fd2b2d89ca52a8eea9c12bd7fe59ffdfd64 (patch)
treea244d7d684b30aaecae3b28c3a3bbac0a8587666
parent91b62a82deae649b2a452eb4bac8b5b7bb7a2362 (diff)
downloadmaster-187ad058-387b9fd2b2d89ca52a8eea9c12bd7fe59ffdfd64.tar.gz
master-187ad058-387b9fd2b2d89ca52a8eea9c12bd7fe59ffdfd64.tar.bz2
master-187ad058-387b9fd2b2d89ca52a8eea9c12bd7fe59ffdfd64.zip
fix static routes for dynamic interfaces (#1446)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 4b55f8bb1e..39b73539ee 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