projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
move target/default/target_skeleton into package/base-files, put all the default...
[openwrt/svn-archive/archive.git]
/
openwrt
/
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
>&-