aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
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 /package/base-files
parent91b62a82deae649b2a452eb4bac8b5b7bb7a2362 (diff)
downloadupstream-387b9fd2b2d89ca52a8eea9c12bd7fe59ffdfd64.tar.gz
upstream-387b9fd2b2d89ca52a8eea9c12bd7fe59ffdfd64.tar.bz2
upstream-387b9fd2b2d89ca52a8eea9c12bd7fe59ffdfd64.zip
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')
-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