upgrade wireless-tools to v28 pre13
[openwrt.git] / openwrt / package / base-files / default / etc / init.d / S40network
1 #!/bin/sh
2 . /etc/functions.sh
3 [ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
4 case "$1" in
5 start|restart)
6 # ifup lan
7 # ifup wan
8 # ifup wifi
9 # wifi up
10
11 for route in $(nvram get static_route); do {
12 eval "set $(echo $route | sed 's/:/ /g')"
13 $DEBUG route add -net $1 netmask $2 gw $3 metric $4 dev $5
14 } done
15 ;;
16 esac
This page took 0.045278 seconds and 5 git commands to generate.