dhcpd configuration

Bruce Dubbs bdubbs at swbell.net
Wed Apr 24 09:16:31 PDT 2002

Larry Lawrence wrote:
> There will be a modification to the ifdown-eth0 script.
> In english, dhcp requires ifconfig eth0 down, dhcpcd does not, it uses -k to 
> release interface and evaluate_retval is added since killproc is removed.
> if DHCP_PROG = dhcpcd
>         dhcpcd -k eth0
> else
>         ifconfig eth0 down
> evaluate_retval
> I'll work on proper syntax to implement the above and then test on a dhcp 
> and dhcpcd clients.
> If anyone sees a cleaner solution to the above, please let me know. I am 
> very concerned with the test DHCP_PROG = dhcpcd as some will be setting 
> varible to full path, some not.
> Larry

Shouldn't it be

if [$DHCP_PROG == dhcpcd]

or were you just doing the logic?

   -- Bruce

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message

More information about the blfs-dev mailing list