mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2996 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user