Commit 6c29ab4f authored by Jouke Witteveen's avatar Jouke Witteveen
Browse files

Do not forcibly disable IPv4LL with dhcpcd

Turn "-L" into a default value of DhcpcdOption=, making it possible to forego
the parameter by setting the variable to an empty string.

DhcpcdOptions= is currently not documented. The last documentation read:
"Do not use this unless you know what you are doing."
When using this variable, "-L" now has to be added if its functionality is
parent f78e386e
......@@ -13,7 +13,7 @@ load_profile "$Profile"
case $ACTION in
DhcpcdOptions+=" -K"
DhcpcdOptions+=" -K -L"
ip_set || exit 1
# Sandbox the eval
if ! ( eval $ExecUpPost ); then
......@@ -3,7 +3,7 @@ type dhcpcd &> /dev/null || return
dhcpcd_start() {
local options
case $1 in
4) options="$DhcpcdOptions -L";;
4) options=${DhcpcdOptions-"-L"};;
6) options=$DhcpcdOptions6;;
*) return 1;;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment