diff --git a/etc/pccard_ether b/etc/pccard_ether index f87d44ae7984..79adf6969ca3 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -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