move target/default/target_skeleton into package/base-files, put all the default...
[openwrt.git] / package / base-files / default / sbin / ifdown
1 #!/bin/ash
2 [ $# = 0 ] && { echo " $0 <group>"; exit; }
3 . /etc/functions.sh
4 type=$1
5 debug "### ifdown $type ###"
6 if=$(nvram get ${type}_ifname)
7 if_valid $if || exit
8 $DEBUG ifconfig $if down
9 kill $(cat /var/run/${if}.pid 2>&-) 2>&-
This page took 0.051862 seconds and 5 git commands to generate.