diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-16 19:16:20 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-16 19:16:20 +0000 |
commit | ecb4afc3b8c0ef9b73ed262db5bd9cabb82b44ce (patch) | |
tree | 09da85ef2e0a9843c2b123888c5a2ed2bc524f33 /openwrt/package/base-files/default/etc/hotplug.d | |
parent | 203382eb69627fc71b0313b80b9792b2c4b9211e (diff) |
fix error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2996 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/base-files/default/etc/hotplug.d')
-rw-r--r-- | openwrt/package/base-files/default/etc/hotplug.d/net/10-net | 5 |
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 dd4ee8863..4579a8470 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 ;; *) |