aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitf29a368c3dc265edde927e64f51ff181089bab81 (patch)
treea60fcb7135cbe5664545719ed5d301602060b39b /package/base-files/default/etc
parent0df5d06dd10df568f476ac603d9395d782885435 (diff)
downloadupstream-f29a368c3dc265edde927e64f51ff181089bab81.tar.gz
upstream-f29a368c3dc265edde927e64f51ff181089bab81.tar.bz2
upstream-f29a368c3dc265edde927e64f51ff181089bab81.zip
fix error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2996 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/etc')
-rw-r--r--package/base-files/default/etc/hotplug.d/net/10-net5
1 files changed, 0 insertions, 5 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 dd4ee8863a..4579a84704 100644
--- a/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/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
;;
*)