summary refs log tree commit diff
path: root/nixos/modules/tasks/network-interfaces-scripted.nix
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-09-11 08:13:04 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-09-11 08:13:04 +0200
commitc58654e2b78e7d3ae97ba96c80ceb3f96236e463 (patch)
treedf1bc2cf89d9661da6b102ea94328bad0a5734c9 /nixos/modules/tasks/network-interfaces-scripted.nix
parent3d479813f5919b6f87fac714d547cf1d1541bb8a (diff)
downloadnixlib-c58654e2b78e7d3ae97ba96c80ceb3f96236e463.tar
nixlib-c58654e2b78e7d3ae97ba96c80ceb3f96236e463.tar.gz
nixlib-c58654e2b78e7d3ae97ba96c80ceb3f96236e463.tar.bz2
nixlib-c58654e2b78e7d3ae97ba96c80ceb3f96236e463.tar.lz
nixlib-c58654e2b78e7d3ae97ba96c80ceb3f96236e463.tar.xz
nixlib-c58654e2b78e7d3ae97ba96c80ceb3f96236e463.tar.zst
nixlib-c58654e2b78e7d3ae97ba96c80ceb3f96236e463.zip
treewide: fix fallout of ip-up deprecation
See #18319 for details. Starting network-online.target manually does not
work as it hangs indefinitely.

Additionally, don't treat avahi and dhcpcd special and sync their systemd units
with the respective upstream suggestion.
Diffstat (limited to 'nixos/modules/tasks/network-interfaces-scripted.nix')
-rw-r--r--nixos/modules/tasks/network-interfaces-scripted.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/tasks/network-interfaces-scripted.nix b/nixos/modules/tasks/network-interfaces-scripted.nix
index 627762bd60de..d1b62e0fd4e4 100644
--- a/nixos/modules/tasks/network-interfaces-scripted.nix
+++ b/nixos/modules/tasks/network-interfaces-scripted.nix
@@ -142,7 +142,6 @@ in
                     # (Flushing this interface may have removed it.)
                     ${config.systemd.package}/bin/systemctl try-restart --no-block network-setup.service
                   fi
-                  ${config.systemd.package}/bin/systemctl start network-online.target
                 '';
             preStop = flip concatMapStrings (ips) (ip:
                 let