aboutsummaryrefslogtreecommitdiff
path: root/net/dhcpcd.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-08-19 22:30:59 +0000
committerRoy Marples <roy@marples.name>2008-08-19 22:30:59 +0000
commita9f7d2d5e5df184fd2eae38422605333e483c4d0 (patch)
tree47e128b0675ab8dcdb41d31250e64c25ae3b6479 /net/dhcpcd.sh
parenta3c87066181282717ac0db2da904b7d5e127ff72 (diff)
Allow dhcpcd to use global dhcpcd variable for commandline options.
Diffstat (limited to 'net/dhcpcd.sh')
-rw-r--r--net/dhcpcd.sh1
1 files changed, 1 insertions, 0 deletions
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}