That's exactly what /etc/init.d/dhcpd does.
it sources /etc/sysconfig/dhcpd and uses "daemon /usr/sbin/dhcpd
${DHCPDARGS}"
-----Original Message-----
From: Geoffrey S. Mendelson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 3:02 PM
To: doron ofek
Cc: 'Ben-Nes Michael'; 'Katriel Traum'; [EMAIL PROTECTED]
Subject: Re: DHCPD problem


doron ofek wrote:
>
> I don't think so....
> In the man page u can see :" COMMAND LINE
>        The  names of the network interfaces on which dhcpd should listen
>        for broadcasts may be specified on the command line."
> In the dhcpd init script u can the line:" daemon /usr/sbin/dhcpd
> ${DHCPDARGS}"
> Thet start the daemon on a specific interface.
> It is not part of the configuration, it is part of the daemon startup
> process

To have "done it right",  /etc/rc.d/init.d/dhcpd should have sourced
/etc/sysconfig/dhcpd, where the line DHCPDARGS="<whatever>"  would be
put if wanted and then used the line:

        daemon /usr/sbin/dhcpd $DHCPDARGS

instead of

        daemon /usr/sbin/dhcpd

Geoff.
--
Geoffrey S. Mendelson
Bloomberg L.P., BFM (Israel) 2 hours ahead of London, 7 hours ahead of New
York.
Tel:  972-(0)3-754-1158 Fax 972-(0)3-754-1236 Email:
[EMAIL PROTECTED]


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to