#!/bin/sh #RCUPDATE:3 4:71:This line is required for script management source /etc/rc.d/config/functions SERVICE=dhcpd opts="start stop restart" EXE=/usr/sbin/dhcpd start() { ebegin "Starting $SERVICE" start-stop-daemon --start --quiet --exec $EXE -- eth0 eend $? "Started $SERVICE." "Error Starting $SERVICE." } stop() { ebegin "Stopping $SERVICE" start-stop-daemon --stop --quiet --exec $EXE eend $? "Stopped $SERVICE." "Error Stopping $SERVICE." } restart() { stop start } doservice ${@}