diff options
author | pst <pst@FreeBSD.org> | 1997-12-16 02:25:36 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-12-16 02:25:36 +0000 |
commit | f17b8b0cc67c649b9370ed6c56d4ce34d5ab75e1 (patch) | |
tree | a8f810185b0614826d0c2fc308033e1d8817ee04 /etc/pccard_ether | |
parent | ccd74359c5076e02fae86cec424872b8cc92d594 (diff) | |
download | FreeBSD-src-f17b8b0cc67c649b9370ed6c56d4ce34d5ab75e1.zip FreeBSD-src-f17b8b0cc67c649b9370ed6c56d4ce34d5ab75e1.tar.gz |
Support ISC-DHCP if the package is available.
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-x | etc/pccard_ether | 8 |
1 files changed, 7 insertions, 1 deletions
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 |