summaryrefslogtreecommitdiff
path: root/dhcp/dhcpd
blob: 221bd5568aca5f2dedb3959c91aabe01f37ddb93 (plain)
    1 #!/bin/sh
    2 #
    3 # /etc/rc.d/dhcpd: start/stop dhcp daemon
    4 #
    5 
    6 case $1 in
    7 start)
    8 	/usr/sbin/dhcpd -q
    9 	;;
   10 stop)
   11 	killall -q /usr/sbin/dhcpd
   12 	;;
   13 restart)
   14 	$0 stop
   15 	sleep 1
   16 	$0 start
   17 	;;
   18 *)
   19 	echo "usage: $0 [start|stop|restart]"
   20 	;;
   21 esac
   22 
   23 # End of file

Generated by cgit