network-interfaces.target: add deprecation notice

This commit is contained in:
Alexander Ried 2016-09-13 11:00:08 +02:00
parent 072c1dcc4a
commit 85c36d1f7d

View File

@ -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" ];