summaryrefslogtreecommitdiff
path: root/src/99-systemd.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-22 01:00:28 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-22 01:00:28 +0200
commite1ce2c2782015579f042d4d6963ed039333fb8c2 (patch)
treebe4d1647cce5d64f6fde549d3543435b118d7016 /src/99-systemd.rules
parent11c3a4eeb7e65eccd6fc0870bb1cda315fa33ba5 (diff)
device: make use of new libudev tags logic
Diffstat (limited to 'src/99-systemd.rules')
-rw-r--r--src/99-systemd.rules8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/99-systemd.rules b/src/99-systemd.rules
index 62aab85e39..70c0d8191a 100644
--- a/src/99-systemd.rules
+++ b/src/99-systemd.rules
@@ -7,10 +7,10 @@
ACTION!="add|change", GOTO="systemd_end"
-KERNEL=="tty[0-9]|tty1[0-2]", ENV{SYSTEMD_EXPOSE}="1"
-KERNEL=="ttyS*", ENV{SYSTEMD_EXPOSE}="1"
+KERNEL=="tty[0-9]|tty1[0-2]", TAG="systemd"
+KERNEL=="ttyS*", TAG="systemd"
-SUBSYSTEM=="block", ENV{SYSTEMD_EXPOSE}="1"
+SUBSYSTEM=="block", TAG="systemd"
# We need a hardware independent way to identify network devices. We
# use the /sys/subsystem path for this. Current vanilla kernels don't
@@ -23,6 +23,6 @@ SUBSYSTEM=="block", ENV{SYSTEMD_EXPOSE}="1"
#
# http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=libudev/libudev-enumerate.c;h=da831449dcaf5e936a14409e8e68ab12d30a98e2;hb=HEAD#l742
-SUBSYSTEM=="net", KERNEL!="lo", ENV{SYSTEMD_EXPOSE}="1", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/%k"
+SUBSYSTEM=="net", KERNEL!="lo", TAG="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/%k"
LABEL="systemd_end"