summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-04-20 14:40:24 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-25 08:41:10 +0200
commit84ea567eb4326eb970a33188649fde6bea2a0d4e (patch)
tree9f05811462e320d49f69077ea7c0a95251c2ae9f /network
parentMerge pull request #12376 from mrc0mmand/deal-with-backslashes-in-completion (diff)
downloadsystemd-84ea567eb4326eb970a33188649fde6bea2a0d4e.tar.xz
systemd-84ea567eb4326eb970a33188649fde6bea2a0d4e.zip
udev,network: warn when .link or .network file has no [Match] section
Closes #12098.
Diffstat (limited to 'network')
-rw-r--r--network/99-default.link3
1 files changed, 3 insertions, 0 deletions
diff --git a/network/99-default.link b/network/99-default.link
index 92fcbe83ea..347d4b72d2 100644
--- a/network/99-default.link
+++ b/network/99-default.link
@@ -7,6 +7,9 @@
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
+[Match]
+OriginalName=*
+
[Link]
NamePolicy=keep kernel database onboard slot path
MACAddressPolicy=persistent