Allow dhcpcd to use global dhcpcd variable for commandline options.
This commit is contained in:
parent
a3c8706618
commit
a9f7d2d5e5
@ -17,6 +17,7 @@ dhcpcd_start()
|
|||||||
{
|
{
|
||||||
local args= opt= opts= pidfile="/var/run/dhcpcd-${IFACE}.pid" new=true
|
local args= opt= opts= pidfile="/var/run/dhcpcd-${IFACE}.pid" new=true
|
||||||
eval args=\$dhcpcd_${IFVAR}
|
eval args=\$dhcpcd_${IFVAR}
|
||||||
|
[ -z "${args}" ] && args=${dhcpcd}
|
||||||
|
|
||||||
# Get our options
|
# Get our options
|
||||||
eval opts=\$dhcp_${IFVAR}
|
eval opts=\$dhcp_${IFVAR}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user