network-interfaces.target: add deprecation notice
This commit is contained in:
parent
072c1dcc4a
commit
85c36d1f7d
|
@ -932,8 +932,10 @@ in
|
|||
]
|
||||
++ bridgeStp;
|
||||
|
||||
# The network-interfaces target is kept for backwards compatibility.
|
||||
# New modules must NOT use it.
|
||||
systemd.targets."network-interfaces" =
|
||||
{ description = "All Network Interfaces";
|
||||
{ description = "All Network Interfaces (deprecated)";
|
||||
wantedBy = [ "network.target" ];
|
||||
before = [ "network.target" ];
|
||||
after = [ "network-pre.target" ];
|
||||
|
|
Loading…
Reference in a new issue