networkd: add header to distributed "config" files

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-01-28 09:55:36 +01:00
parent 7a6eb60bd5
commit 4c30eb573c
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
# This file is part of systemd.
# See systemd-networkd.service(8) and polkit(8) for more information.
[Allow systemd-networkd to set timezone and transient hostname]
Identity=unix-user:systemd-network
Action=org.freedesktop.hostname1.set-hostname;org.freedesktop.hostname1.get-product-uuid;org.freedesktop.timedate1.set-timezone;
+3
View File
@@ -1,3 +1,6 @@
// This file is part of systemd.
// See systemd-networkd.service(8) and polkit(8) for more information.
// Allow systemd-networkd to set timezone, get product UUID,
// and transient hostname
polkit.addRule(function(action, subject) {