pppoe hooks
[openwrt.git] / root / etc / functions.sh
index 1f9afb2..2b85e15 100755 (executable)
@@ -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.