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
+3 -4
View File
@@ -147,10 +147,9 @@ in
systemd.services.dhcpcd =
{ description = "DHCP Client";
wantedBy = [ "network.target" ];
# Work-around to deal with problems where the kernel would remove &
# re-create Wifi interfaces early during boot.
after = [ "network-interfaces.target" ];
wantedBy = [ "multi-user.target" ];
wants = [ "network.target" ];
before = [ "network.target" ];
# Stopping dhcpcd during a reconfiguration is undesirable
# because it brings down the network interfaces configured by