Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add vmnet1 the to the daemon $dhcpd line as shown:


start() {
{
    [ -x $dhcpd ] || return 5
    [ -f $conf ] || return 
6
6    pidofproc $prog >/dev/null 2>&1
    RETVAL=$?
    [ $RETVAL -eq 0 ] && return 
$RETVAL
$RETVAL    echo -n $"Starting $prog: "
    daemon $dhcpd vmnet1 $DHCPDARGS 2>/dev/null
    RETVAL=$?
    echo
    [ $RETVAL = 0 ] && touch $lockfile
    return $RETVAL

}
Code Block
Panel
Wiki Markup

Configure the dhcpd service to automatically start at runlevels 3-5:

...