summaryrefslogtreecommitdiff
path: root/net
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
parenta3c87066181282717ac0db2da904b7d5e127ff72 (diff)
downloadopenrc-a9f7d2d5e5df184fd2eae38422605333e483c4d0.tar.gz
openrc-a9f7d2d5e5df184fd2eae38422605333e483c4d0.tar.bz2
openrc-a9f7d2d5e5df184fd2eae38422605333e483c4d0.tar.xz
Allow dhcpcd to use global dhcpcd variable for commandline options.
Diffstat (limited to 'net')
-rw-r--r--net/dhcpcd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh
index 001baaa..8850d94 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}