dhcpd configuration

Kevan Shea biffcool at zombieworld.com
Wed Apr 24 10:22:14 PDT 2002


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> -----Original Message-----
> From: blfs-dev-bounce at linuxfromscratch.org
> [mailto:blfs-dev-bounce at linuxfromscratch.org]On Behalf Of 
> Larry Lawrence
> 
> 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.

How about:
ps -A | grep dhcpcd > /dev/null
if [ $? ]; then
	dhcpcd -k eth0
elseif
	ifconfig eth0 down
fi


> Larry

- -- 
Kevan Shea

"They try to hide all of this under a facade of shiny, 'lickable'
buttons, but the truth has finally come out: Apple Computers promote
Godless Darwinism and Communism." --Dr. Richard Paley

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPMbpxlbFA6QvIWPLEQKv0wCgrEiSrFi7N470w0ckheZ9HjcibCwAoKEU
q48+B28JNG6WcGHvEpz289c9
=SZrD
-----END PGP SIGNATURE-----

-- 
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