dhcpcd service: always want by multi-user

When default gateways were specified the service wasn't wanted by anything at
all before.
This commit is contained in:
Nikolay Amiantov 2018-02-18 23:40:22 +03:00
parent e3f947a19a
commit 996ed0830e

View file

@ -160,7 +160,7 @@ in
in
{ description = "DHCP Client";
wantedBy = optional (!hasDefaultGatewaySet) "network-online.target";
wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
after = [ "network.target" ];
wants = [ "network.target" ];