From f17b8b0cc67c649b9370ed6c56d4ce34d5ab75e1 Mon Sep 17 00:00:00 2001 From: pst Date: Tue, 16 Dec 1997 02:25:36 +0000 Subject: Support ISC-DHCP if the package is available. --- etc/pccard_ether | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'etc/pccard_ether') diff --git a/etc/pccard_ether b/etc/pccard_ether index 4084ea7..15faad7 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -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 -- cgit v1.1