Merge pull request #44524 from vincentbernat/fix/dhcpcd-systemd

dhcpcd service: order before network target
This commit is contained in:
Franz Pletz 2018-08-13 20:24:22 +00:00 committed by GitHub
commit 0371570807
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,8 +161,8 @@ in
{ description = "DHCP Client";
wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
after = [ "network.target" ];
wants = [ "network.target" ];
before = [ "network.target" ];
# Stopping dhcpcd during a reconfiguration is undesirable
# because it brings down the network interfaces configured by