#!/bin/sh
#
# /etc/rc.d/dhcpcd: start/stop dhcp client
case $1 in
start)
/usr/sbin/dhclient -q
;;
stop)
test -f /var/run/dhclient.pid && kill $(cat /var/run/dhclient.pid)
restart)
$0 stop
sleep 1
$0 start
*)
echo "usage: $0 [start|stop|restart]"
esac
# End of file