diff options
author | Florian Klink <flokli@flokli.de> | 2019-03-19 01:54:27 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-03-20 00:36:33 +0100 |
commit | 69cd72b3e178a21b0974f5d9b9c151be9f85f2a7 (patch) | |
tree | e03a477d8a67212b633252de2a29037828fc30a8 /pkgs/tools/networking/network-manager/default.nix | |
parent | b488c60cdb0a9fb913d8b463f17fe89b45b4d50a (diff) |
network-manager: add legacy service name as fallback
This prevents NetworkManager from not starting back up while switching configurations. This can be removed once 19.10 is released.
Diffstat (limited to 'pkgs/tools/networking/network-manager/default.nix')
-rw-r--r-- | pkgs/tools/networking/network-manager/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/networking/network-manager/default.nix b/pkgs/tools/networking/network-manager/default.nix index 58fdd1f45b601..2ead22a550a6e 100644 --- a/pkgs/tools/networking/network-manager/default.nix +++ b/pkgs/tools/networking/network-manager/default.nix @@ -92,6 +92,11 @@ in stdenv.mkDerivation rec { # aliases ourselves. ln -s $out/etc/systemd/system/NetworkManager-dispatcher.service $out/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service ln -s $out/etc/systemd/system/NetworkManager.service $out/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service + + # Add the legacy service name from before #51382 to prevent NetworkManager + # from not starting back up: + # TODO: remove this once 19.10 is released + ln -s $out/etc/systemd/system/NetworkManager.service $out/etc/systemd/system/network-manager.service ''; passthru = { |