aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
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
commitbfa7afbd224bcbfbfa4c4fe9471eb54895e50220 (patch)
tree5464be77913c312c232e76e5a3f2619d9f1c5745 /package/base-files/files/etc
parentfbac51ffa4fd11102f44eb03532d22cb4a9a4459 (diff)
downloadupstream-bfa7afbd224bcbfbfa4c4fe9471eb54895e50220.tar.gz
upstream-bfa7afbd224bcbfbfa4c4fe9471eb54895e50220.tar.bz2
upstream-bfa7afbd224bcbfbfa4c4fe9471eb54895e50220.zip
fix static routes for dynamic interfaces (#1446)
SVN-Revision: 7949
Diffstat (limited to 'package/base-files/files/etc')
-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