summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-01-16 19:16:20 +0000
committerMike Baker <mbm@openwrt.org>2006-01-16 19:16:20 +0000
commit1f59f207c49b08af21e65a8c58e58fd37c9093b4 (patch)
tree976346077d64b998d9c20814baf344decdeb979c /openwrt/package/base-files/default/etc
parentcee6b526ff202e3dbcda900fb916931518edba15 (diff)
downloadmtk-20170518-1f59f207c49b08af21e65a8c58e58fd37c9093b4.zip
mtk-20170518-1f59f207c49b08af21e65a8c58e58fd37c9093b4.tar.gz
mtk-20170518-1f59f207c49b08af21e65a8c58e58fd37c9093b4.tar.bz2
fix error messages
SVN-Revision: 2996
Diffstat (limited to 'openwrt/package/base-files/default/etc')
-rw-r--r--openwrt/package/base-files/default/etc/hotplug.d/net/10-net5
1 files changed, 0 insertions, 5 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 dd4ee88..4579a84 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
@@ -75,12 +75,7 @@ do_ifup() {
DHCP_HOSTNAME=${DHCP_HOSTNAME%%.*}
[ -z $DHCP_HOSTNAME ] || DHCP_ARGS="$DHCP_ARGS -H $DHCP_HOSTNAME"
[ "$if_proto" = "pptp" ] && DHCP_ARGS="$DHCP_ARGS -n -q" || DHCP_ARGS="$DHCP_ARGS -R &"
- oldpid=$(cat $pidfile)
${DEBUG:-eval} "udhcpc $DHCP_ARGS"
- pidof udhcpc | grep "$oldpid" >&- 2>&- && {
- sleep 1
- kill -9 $oldpid
- }
# hotplug events are handled by /usr/share/udhcpc/default.script
;;
*)