#! /bin/sh
#
# Start or stop dhcpd daemon
#

# Add all interfaces you want dhcpd to handle here

. /etc/init.d/functions

test -x /usr/sbin/dhcrelay || exit 0

case "$1" in
  start)
      start-stop-daemon --start --verbose --exec /usr/sbin/dhcrelay -- -i eth0 #DHCP-SERVER#
    ;;
  stop)
      start-stop-daemon --stop --verbose --exec /usr/sbin/dhcrelay
    ;;
  *)
    echo "Usage: /etc/init.d/dhcp-relay-beta {start|stop}"
    exit 1 
esac

exit 0
