diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-05-23 10:24:52 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-05-23 10:24:52 +0200 |
commit | b34551384a0b96ee59ddf5b9290da59ad8987473 (patch) | |
tree | 4b4389ee28fa029543c6fa61e87da9194fcea28d /nixos/modules/services/networking/dhcpcd.nix | |
parent | 5c2b59d63afe75d6735790ca9232a1445091bf53 (diff) | |
parent | f7a398c481306f007dfaa050a6f597c0bf37a2ac (diff) | |
download | nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.gz nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.bz2 nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.lz nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.xz nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.zst nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.zip |
Merge master into staging-next
Diffstat (limited to 'nixos/modules/services/networking/dhcpcd.nix')
-rw-r--r-- | nixos/modules/services/networking/dhcpcd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix index c0619211c2fe..0507b739d499 100644 --- a/nixos/modules/services/networking/dhcpcd.nix +++ b/nixos/modules/services/networking/dhcpcd.nix @@ -81,7 +81,7 @@ let # anything ever again ("couldn't resolve ..., giving up on # it"), so we silently lose time synchronisation. This also # applies to openntpd. - ${config.systemd.package}/bin/systemctl try-reload-or-restart ntpd.service openntpd.service chronyd.service || true + /run/current-system/systemd/bin/systemctl try-reload-or-restart ntpd.service openntpd.service chronyd.service || true fi ${cfg.runHook} @@ -217,7 +217,7 @@ in powerManagement.resumeCommands = mkIf config.systemd.services.dhcpcd.enable '' # Tell dhcpcd to rebind its interfaces if it's running. - ${config.systemd.package}/bin/systemctl reload dhcpcd.service + /run/current-system/systemd/bin/systemctl reload dhcpcd.service ''; }; |