projects
/
openwrt-10.03
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add wildcard support to menuconfig
[openwrt-10.03/.git]
/
target
/
default
/
target_skeleton
/
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>&-