projects
/
openwrt-10.03
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add lzma to compile chain
[openwrt-10.03/.git]
/
root
/
sbin
/
ifdown
1
#!/bin/ash
2
. /etc/functions.sh
3
type=$1
4
debug "### ifdown $type ###"
5
if=$(nvram_get ${type}_ifname)
6
if_valid $if || return
7
kill $(cat /var/run/${if}.pid 2>&-) 2>&-
8
$DEBUG ifconfig $if down