d8b4e4125ea7f5812a74189f8457b3098c5031f8
[openwrt.git] / target / default / target_skeleton / etc / init.d / S40network
1 #!/bin/sh
2 case "$1" in
3 start|restart)
4 ifup lan
5 ifup wan
6 ifup wifi
7 wifi up
8
9 for route in $(nvram get static_route); do {
10 eval "set $(echo $route | sed 's/:/ /g')"
11 $DEBUG route add -net $1 netmask $2 gw $3 metric $4 dev $5
12 } done
13 ;;
14 esac
This page took 0.040438 seconds and 3 git commands to generate.