summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2008-06-11 18:23:40 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2008-06-14 16:03:28 +0200
commitb5d53dac1cb24be6d075eaee24f0d1611cc13dc0 (patch)
tree3b5764dd3400c4a09f79d52f5a4305cbd973ecd8
parent3a5217492c1f95711b30f4e27c51563dff6ceb3e (diff)
downloadpcmciautils-b5d53dac1cb24be6d075eaee24f0d1611cc13dc0.tar.gz
simplified the setting of sysfs attributes
Signed-off-by: Harald Hoyer <harald@redhat.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
-rw-r--r--udev/rules-base3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev/rules-base b/udev/rules-base
index 6ed3a27..9bad261 100644
--- a/udev/rules-base
+++ b/udev/rules-base
@@ -8,8 +8,7 @@ ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
# However, the "weak" matching by func_id is only allowed _after_ modprobe
# returns, so that "strong" matches have a higher priority.
-ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
- RUN+="/bin/sh -c 'echo 1 > /sys/$devpath/allow_func_id_match'"
+ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", ATTR{allow_func_id_match}="1"
# PCMCIA sockets:
#