mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix ifup/down for ppp-based stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2536 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -175,8 +175,8 @@ do_unregister() {
|
||||
|
||||
case "$IFPROTO" in
|
||||
pppoe|pppoa|pptp)
|
||||
killall ifup.${IFPROTO}
|
||||
killall pppd
|
||||
killall ifup.${IFPROTO} 2>&- >&-
|
||||
killall pppd 2>&- >&-
|
||||
;;
|
||||
dhcp)
|
||||
[ -f /var/run/${INTERFACE}.pid ] && kill "$(cat /var/run/${INTERFACE}.pid)" 2>&- >&-
|
||||
|
||||
Reference in New Issue
Block a user