summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-11-19 14:53:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-11-19 14:53:21 +0000
commit969a4d1c2a55b9def4c4576816ffe37f357e0f94 (patch)
tree18ca8236b5b830a42291031e53a49c93be81da6b /openwrt/package/base-files/default/etc
parent3cc0f965fb567da350ab21984ee3e91f761be81a (diff)
downloadmtk-20170518-969a4d1c2a55b9def4c4576816ffe37f357e0f94.zip
mtk-20170518-969a4d1c2a55b9def4c4576816ffe37f357e0f94.tar.gz
mtk-20170518-969a4d1c2a55b9def4c4576816ffe37f357e0f94.tar.bz2
fix ifup/down for ppp-based stuff
SVN-Revision: 2536
Diffstat (limited to 'openwrt/package/base-files/default/etc')
-rw-r--r--openwrt/package/base-files/default/etc/hotplug.d/net/10-net4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
index 29df1d2..3bc980f 100644
--- a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/openwrt/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>&- >&-