summaryrefslogtreecommitdiff
path: root/package/base-files/default/etc/hotplug.d/net
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-19 14:53:21 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-19 14:53:21 +0000
commit76dec73b0b803f861192efe08b95f2cf331a96e2 (patch)
tree6d952ddec97497237fa3b17016cb8530c60ec096 /package/base-files/default/etc/hotplug.d/net
parent1b02e2c32ceefd3b59c34c3eb8d9080b83be1bd6 (diff)
fix ifup/down for ppp-based stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2536 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/etc/hotplug.d/net')
-rw-r--r--package/base-files/default/etc/hotplug.d/net/10-net4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/default/etc/hotplug.d/net/10-net b/package/base-files/default/etc/hotplug.d/net/10-net
index 29df1d2ce8..3bc980f86f 100644
--- a/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/package/base-files/default/etc/hotplug.d/net/10-net
@@ -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>&- >&-