summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/etc/hotplug.d/net/10-net')
-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 29df1d2ce8..3bc980f86f 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>&- >&-