about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2016-09-08 22:17:58 +0200
committerAlexander Ried <ried@mytum.de>2016-09-13 11:19:22 +0200
commitbc7710468d2152cd1c3a02827b1fe90c8c23d04d (patch)
treec0393bf9356e565c1450a3a8bd097c5763190e29 /nixos
parent3dc69799b6647e4e0496fbfe60e2978ea0617cb0 (diff)
downloadnixlib-bc7710468d2152cd1c3a02827b1fe90c8c23d04d.tar
nixlib-bc7710468d2152cd1c3a02827b1fe90c8c23d04d.tar.gz
nixlib-bc7710468d2152cd1c3a02827b1fe90c8c23d04d.tar.bz2
nixlib-bc7710468d2152cd1c3a02827b1fe90c8c23d04d.tar.lz
nixlib-bc7710468d2152cd1c3a02827b1fe90c8c23d04d.tar.xz
nixlib-bc7710468d2152cd1c3a02827b1fe90c8c23d04d.tar.zst
nixlib-bc7710468d2152cd1c3a02827b1fe90c8c23d04d.zip
networking.dhcpcd: use upstream targets
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/dhcpcd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix
index 4b0e90886510..87c0aa50a1ff 100644
--- a/nixos/modules/services/networking/dhcpcd.nix
+++ b/nixos/modules/services/networking/dhcpcd.nix
@@ -158,8 +158,8 @@ in
       { description = "DHCP Client";
 
         wantedBy = [ "multi-user.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