DHCPD on statup?

2003-03-02 Thread Remington L.
I've been trying very hard to get dhcpd to load on boot. I've done
extensive hacking of /etc/rc to add a rc.user to the mix. This was a
simple addition of:

If [ -r /etc/user ]; then
. /etc/user
fi

then in my rc.user is this:
#!/bin/sh -

echo -n 'Loading third party server stuff:'

case ${dhcpd_enable} in
[Yy][Ee][Ss])
echo -n ' dhcpd' ; dhcpd
;;
esac

And then into my /etc/rc.conf I have:
Dhcpd_enable=YES

Yet I see none of this happen on boot. Is there something I'm missing or
does anyone know another way that is more effiecient/easier?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: DHCPD on statup?

2003-03-02 Thread Per olof Ljungmark
Remington L. wrote:
I've been trying very hard to get dhcpd to load on boot. I've done
extensive hacking of /etc/rc to add a rc.user to the mix. This was a
simple addition of:
If [ -r /etc/user ]; then
. /etc/user
fi
then in my rc.user is this:
#!/bin/sh -
echo -n 'Loading third party server stuff:'

case ${dhcpd_enable} in
[Yy][Ee][Ss])
echo -n ' dhcpd' ; dhcpd
;;
esac
And then into my /etc/rc.conf I have:
Dhcpd_enable=YES
Yet I see none of this happen on boot. Is there something I'm missing or
does anyone know another way that is more effiecient/easier?
Does /etc/dhcpd.conf exist?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: DHCPD on statup?

2003-03-02 Thread Remington L.
Haha thanks for the reply. I got it working mysterially. Apparently it
pulled startup from /usr/local/etc/rc.d/
Thanks anyways
-Original Message-
From: Per olof Ljungmark [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 02, 2003 2:51 AM
To: Remington L.
Cc: Freebsd-Questions
Subject: Re: DHCPD on statup?

Remington L. wrote:
 I've been trying very hard to get dhcpd to load on boot. I've done
 extensive hacking of /etc/rc to add a rc.user to the mix. This was a
 simple addition of:
 
 If [ -r /etc/user ]; then
   . /etc/user
 fi
 
 then in my rc.user is this:
 #!/bin/sh -
 
 echo -n 'Loading third party server stuff:'
 
 case ${dhcpd_enable} in
 [Yy][Ee][Ss])
   echo -n ' dhcpd' ; dhcpd
 ;;
 esac
 
 And then into my /etc/rc.conf I have:
 Dhcpd_enable=YES
 
 Yet I see none of this happen on boot. Is there something I'm missing
or
 does anyone know another way that is more effiecient/easier?
 

Does /etc/dhcpd.conf exist?






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message