add second tty to initab again. kernel patch verified to work on asus wl500gx.
[openwrt.git] / openwrt / package / base-files / default / sbin / ifdown
1 #!/bin/ash
2 [ $# = 0 ] && { echo " $0 <group>"; exit; }
3 . /etc/functions.sh
4 . /etc/network.overrides
5 [ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
6 type=$1
7 debug "### ifdown $type ###"
8 if=$(nvram get ${type}_ifname)
9 if_valid $if || exit
10 $DEBUG ifconfig $if down
11 kill $(cat /var/run/${if}.pid 2>&-) 2>&-
This page took 0.047751 seconds and 5 git commands to generate.