if [ -n "$NETWORK_MANAGER_CRYPTO" ] ;then
case "$NETWORK_MANAGER_CRYPTO" in
@@ -71,24 +86,41 @@ if [ -n "$NETWORK_MANAGER_CRYPTO" ] ;then
fi &&
persistent_add NM_CRYPTO &&
case "$DEFAULT_DHCP" in
dhcpcd) depends "$DEFAULT_DHCP" "${DEFAULT_DHCP}=true" ;;
- dhclient) depends "$DEFAULT_DHCP" "${DEFAULT_DHCP}=true" ;;
+ # we don't yet have a dhclient spell
+ #dhclient) depends "$DEFAULT_DHCP" "${DEFAULT_DHCP}=true" ;;
esac &&
-for s in dhclient dhcpcd ;do
+# when we have a dhclient spell, add it to the for loop list below
+for s in dhcpcd ;do
if ! is_depends_enabled "$SPELL" "$s" ;then
- optional_depends "$s" "$s"={true,false} "Enable $s DHCP client support"
+ optional_depends "$s" \
+ "$s=true" \
+ "$s=false" \
+ "Enable $s DHCP client support"
fi
done &&