From 8d077a2107b6333ab67a39ab16c2a1ac6d0e079e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 21 Feb 2015 09:41:33 +0100 Subject: [PATCH] remove deprecated dhcpv6 on freebsd --- lib/dhcp.bash | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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