mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-25 08:02:32 +00:00
deal with static routes
SVN-Revision: 62
This commit is contained in:
parent
e685d5f8a3
commit
c20c90cac2
@ -6,5 +6,10 @@ case "$1" in
|
|||||||
ifup wan
|
ifup wan
|
||||||
ifup wifi
|
ifup wifi
|
||||||
wifi up
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user