From 81ff9e9faaee332e9e1f168f85d3d9f6bc158c14 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Fri, 10 Jul 2020 01:17:16 +0100 Subject: Restablish use of the -L option to assist Slackware ARM users. --- rc.inet1 | 1 - 1 file changed, 1 deletion(-) diff --git a/rc.inet1 b/rc.inet1 index f63f93e..cfb3bdd 100644 --- a/rc.inet1 +++ b/rc.inet1 @@ -350,7 +350,6 @@ if_up() { # Note: ARM users should make use of the DHCP_NOIPV4LL[x]="yes" parameter in rc.inet1.conf - this is the correct # way to get the behaviour they seek. [ "${DHCP_NOIPV4LL[$i]}" = "yes" ] && DHCP_OPTIONS+=("-L") - [ -n "${DHCP_IPADDR[$i]}" ] && DHCP_OPTIONS+=("-r" "${DHCP_IPADDR[$i]}") echo "${1}: polling for DHCP server" # 15 seconds should be a reasonable default DHCP timeout. 30 was too much. debug_log "/sbin/dhcpcd -t ${DHCP_TIMEOUT[$i]:-15} ${DHCP_OPTIONS[*]} ${1}" -- cgit v1.2.3