nixos/dhcpcd: Wait for devices to settle
This commit is contained in:
parent
6897945879
commit
4c6171c173
@ -161,8 +161,9 @@ in
|
|||||||
{ description = "DHCP Client";
|
{ description = "DHCP Client";
|
||||||
|
|
||||||
wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
|
wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
|
||||||
wants = [ "network.target" ];
|
wants = [ "network.target" "systemd-udev-settle.service" ];
|
||||||
before = [ "network.target" ];
|
before = [ "network.target" ];
|
||||||
|
after = [ "systemd-udev-settle.service" ];
|
||||||
|
|
||||||
# Stopping dhcpcd during a reconfiguration is undesirable
|
# Stopping dhcpcd during a reconfiguration is undesirable
|
||||||
# because it brings down the network interfaces configured by
|
# because it brings down the network interfaces configured by
|
||||||
|
Loading…
x
Reference in New Issue
Block a user