Allow dhcpcd to use global dhcpcd variable for commandline options.

This commit is contained in:
Roy Marples 2008-08-19 22:30:59 +00:00
parent a3c8706618
commit a9f7d2d5e5

View File

@ -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}