From: Chris Patterson Date: Fri, 25 Aug 2023 21:23:40 +0000 (-0400) Subject: 99-systemd.rules.in: tag PTP devices with systemd X-Git-Tag: v255-rc1~636 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23cbe90d7db6b569ae2fc18ad88f99f8ef505593;p=thirdparty%2Fsystemd.git 99-systemd.rules.in: tag PTP devices with systemd Chronyd and similar time services, when using PTP devices, may need the BindsTo/After directives to ensure the devices are available before starting. Tag PTP devices with systemd to allow for wider adoption. Signed-off-by: Chris Patterson --- diff --git a/rules.d/99-systemd.rules.in b/rules.d/99-systemd.rules.in index b5a2b6aaeaa..0d68f31d361 100644 --- a/rules.d/99-systemd.rules.in +++ b/rules.d/99-systemd.rules.in @@ -12,6 +12,8 @@ ACTION=="remove", GOTO="systemd_end" SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*|ttysclp*|sclp_line*|3270/tty[0-9]*", TAG+="systemd" KERNEL=="vport*", TAG+="systemd" +SUBSYSTEM=="ptp", TAG+="systemd" + SUBSYSTEM=="ubi", TAG+="systemd" SUBSYSTEM=="block", TAG+="systemd"