[systemd-devel] [PATCH 05/10] rules: skip 99-systemd.rules when not running systemd as init
Jon Severinsson
jon at severinsson.net
Wed Jul 16 03:09:51 PDT 2014
From: Tollef Fog Heen <tfheen at err.no>
---
rules/99-systemd.rules.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in
index c3ef81b..df83a38 100644
--- a/rules/99-systemd.rules.in
+++ b/rules/99-systemd.rules.in
@@ -6,6 +6,7 @@
# (at your option) any later version.
ACTION=="remove", GOTO="systemd_end"
+TEST!="/run/systemd/system", GOTO="systemd_end"
SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*|ttysclp*|sclp_line*|3270/tty[0-9]*", TAG+="systemd"
--
2.0.1
More information about the systemd-devel
mailing list