Support ISC-DHCP if the package is available.
This commit is contained in:
parent
b399b74b2d
commit
8e4ed0829d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user