Wrapper script for PC Card Ethernet Adapters only supports ISC DHCP;

I prefer wide-dhcp, and since both are packages, it should get
equal billing.

PR:		7568
Reviewed by:	phk
Submitted by:	Drew Derbyshire <software@kew.com>
This commit is contained in:
Poul-Henning Kamp 1998-08-14 06:31:58 +00:00
parent c7fb30fbe4
commit 6b21649d16

View File

@ -18,6 +18,12 @@ if [ "x$pccard_ifconfig" != "xNO" ] ; then
rm /var/run/dhclient.pid
fi
/usr/local/sbin/dhclient
elif [ -f /usr/local/sbin/dhcpc ] ; then
if [ -s /var/run/dhcpc.pid ] ; then
kill `cat /var/run/dhcpc.pid`
rm /var/run/dhcpc.pid
fi
/usr/local/sbin/dhcpc $*
else
echo "DHCP client software not available (isc-dhcp2)"
fi