summaryrefslogtreecommitdiff
path: root/package
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
parentfbac51ffa4fd11102f44eb03532d22cb4a9a4459 (diff)
downloadmtk-20170518-bfa7afbd224bcbfbfa4c4fe9471eb54895e50220.zip
mtk-20170518-bfa7afbd224bcbfbfa4c4fe9471eb54895e50220.tar.gz
mtk-20170518-bfa7afbd224bcbfbfa4c4fe9471eb54895e50220.tar.bz2
fix static routes for dynamic interfaces (#1446)
SVN-Revision: 7949
Diffstat (limited to 'package')
-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 4b55f8b..39b7353 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