From a9f7d2d5e5df184fd2eae38422605333e483c4d0 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Aug 2008 22:30:59 +0000 Subject: Allow dhcpcd to use global dhcpcd variable for commandline options. --- net/dhcpcd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh index 001baaab..8850d944 100644 --- a/net/dhcpcd.sh +++ b/net/dhcpcd.sh @@ -17,6 +17,7 @@ dhcpcd_start() { local args= opt= opts= pidfile="/var/run/dhcpcd-${IFACE}.pid" new=true eval args=\$dhcpcd_${IFVAR} + [ -z "${args}" ] && args=${dhcpcd} # Get our options eval opts=\$dhcp_${IFVAR} -- cgit v1.2.3