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.
This commit is contained in:
Franz Pletz
2016-09-11 08:13:04 +02:00
parent 3d479813f5
commit c58654e2b7
5 changed files with 4 additions and 28 deletions

View File

@@ -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