mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
Support ISC-DHCP if the package is available.
This commit is contained in:
parent
b399b74b2d
commit
8e4ed0829d
1 changed files with 7 additions and 1 deletions
|
|
@ -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…
Reference in a new issue