Support ISC-DHCP if the package is available.

This commit is contained in:
Paul Traina 1997-12-16 02:25:36 +00:00
parent b399b74b2d
commit 8e4ed0829d

View File

@ -12,7 +12,13 @@ fi
if [ "x$pccard_ifconfig" != "xNO" ] ; then
if [ "x$pccard_ifconfig" = "xDHCP" ] ; then
# DHCP currently not implemented
if [ -f /usr/local/sbin/dhclient ] ; then
if [ -s /var/run/dhclient.pid ] ; then
kill `cat /var/run/dhclient.pid`
rm /var/run/dhclient.pid
fi
/usr/local/sbin/dhclient
fi
else
interface=$1
shift