projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
copy wificonf from whiterussian to head
[openwrt.git]
/
root
/
etc
/
init.d
/
S40network
diff --git
a/root/etc/init.d/S40network
b/root/etc/init.d/S40network
index
4264705
..
5a6ca72
100755
(executable)
--- a/
root/etc/init.d/S40network
+++ b/
root/etc/init.d/S40network
@@
-6,5
+6,10
@@
case "$1" in
ifup wan
ifup wifi
wifi up
ifup wan
ifup wifi
wifi up
+
+ for route in $(nvram_get static_route); do {
+ eval "set $(echo $route | sed 's/:/ /g')"
+ route add -net $1 netmask $2 gw $3 metric $4 dev $5
+ } done
;;
esac
;;
esac
This page took
0.021645 seconds
and
4
git commands to generate.