misc init.d cleanups
[openwrt.git] / openwrt / 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.046625 seconds and 5 git commands to generate.