network-interfaces.target: add deprecation notice
commit85c36d1f7d1f93bf5e964f11308a2a5fd814cfe3
authorAlexander Ried <ried@mytum.de>
dateTue 13 Sep 2016, 11:00 (10 years ago)
parent072c1dc
nixos/modules/tasks/network-interfaces.nix+3−1
@@ -932,8 +932,10 @@ in
932932 ]
933933 ++ bridgeStp;
934934
935+ # The network-interfaces target is kept for backwards compatibility.
936+ # New modules must NOT use it.
935937 systemd.targets."network-interfaces" =
936− { description = "All Network Interfaces";
938+ { description = "All Network Interfaces (deprecated)";
937939 wantedBy = [ "network.target" ];
938940 before = [ "network.target" ];
939941 after = [ "network-pre.target" ];