Wrapper script for PC Card Ethernet Adapters only supports ISC DHCP;
I prefer wide-dhcp, and since both are packages, it should get equal billing. PR: 7568 Reviewed by: phk Submitted by: Drew Derbyshire <software@kew.com>
This commit is contained in:
parent
c7fb30fbe4
commit
6b21649d16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user