diff --git a/lib/dhcp.bash b/lib/dhcp.bash index 53d1ae3..4dc7f0d 100644 --- a/lib/dhcp.bash +++ b/lib/dhcp.bash @@ -4,13 +4,7 @@ start_dhclient() { dhclient -x dhclient -nw "$interface" elif [[ "$OSTYPE" == "freebsd"* ]]; then - # prefer isc-dhcp-client as it supports dhcpv6 - if [[ -x /usr/local/sbin/dhclient ]]; then - /usr/local/sbin/dhclient -x - /usr/local/sbin/dhclient -nw "$interface" - else - dhclient -b "$interface" - fi + dhclient -b "$interface" else nohup setsid dhclient "$interface" >/dev/null 2>&1 fi