forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
b488c60cdb
commit
69cd72b3e1
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue