diff options
author | Alexander Ried <ried@mytum.de> | 2016-09-10 18:03:59 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-09-10 18:03:59 +0200 |
commit | 27bc34f1e471991e43df028edc51159b12405120 (patch) | |
tree | 755a9ff93c09e6affd01878667ba351c659cf3a7 /nixos/modules/services/networking/dhcpcd.nix | |
parent | a28bbba6fc89a72fc65d08b98d79d2fda310b95c (diff) | |
download | nixlib-27bc34f1e471991e43df028edc51159b12405120.tar nixlib-27bc34f1e471991e43df028edc51159b12405120.tar.gz nixlib-27bc34f1e471991e43df028edc51159b12405120.tar.bz2 nixlib-27bc34f1e471991e43df028edc51159b12405120.tar.lz nixlib-27bc34f1e471991e43df028edc51159b12405120.tar.xz nixlib-27bc34f1e471991e43df028edc51159b12405120.tar.zst nixlib-27bc34f1e471991e43df028edc51159b12405120.zip |
treewide: deprecate ip-up.target (#18319)
Systemd upstream provides targets for networking. This also includes a target network-online.target. In this PR I remove / replace most occurrences since some of them were even wrong and could delay startup.
Diffstat (limited to 'nixos/modules/services/networking/dhcpcd.nix')
-rw-r--r-- | nixos/modules/services/networking/dhcpcd.nix | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix index b31d479ab4fd..994b857e5e80 100644 --- a/nixos/modules/services/networking/dhcpcd.nix +++ b/nixos/modules/services/networking/dhcpcd.nix @@ -61,7 +61,6 @@ let ${cfg.extraConfig} ''; - # Hook for emitting ip-up/ip-down events. exitHook = pkgs.writeText "dhcpcd.exit-hook" '' if [ "$reason" = BOUND -o "$reason" = REBOOT ]; then @@ -73,14 +72,8 @@ let # applies to openntpd. ${config.systemd.package}/bin/systemctl try-restart ntpd.service ${config.systemd.package}/bin/systemctl try-restart openntpd.service - - ${config.systemd.package}/bin/systemctl start ip-up.target fi - #if [ "$reason" = EXPIRE -o "$reason" = RELEASE -o "$reason" = NOCARRIER ] ; then - # ${config.systemd.package}/bin/systemctl start ip-down.target - #fi - ${cfg.runHook} ''; |