projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pppoe hooks
[openwrt.git]
/
root
/
etc
/
functions.sh
diff --git
a/root/etc/functions.sh
b/root/etc/functions.sh
index
1f9afb2
..
2b85e15
100755
(executable)
--- a/
root/etc/functions.sh
+++ b/
root/etc/functions.sh
@@
-104,5
+104,7
@@
ifdown () (
type=$1
debug "### ifdown $type ###"
if=$(nvram_get ${type}_ifname)
- if_valid $if && $DEBUG ifconfig $if down
+ if_valid $if || return
+ kill $(cat /var/run/${if}.pid 2>-)2>-
+ $DEBUG ifconfig $if down
)
This page took
0.027049 seconds
and
4
git commands to generate.