diff options
| author | Paul Traina <pst@FreeBSD.org> | 1997-12-16 02:25:36 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1997-12-16 02:25:36 +0000 |
| commit | 8e4ed0829dfd3eeb0707ff123406db2831d2fa66 (patch) | |
| tree | 098d3c5afb3c4dce0d52253697d959cd61e5ff9b /etc | |
| parent | b399b74b2d3bcf6108cbfcea5f6c61377ec9c616 (diff) | |
Notes
Diffstat (limited to 'etc')
| -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 4084ea7a2d66..15faad770ded 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 |
