- fixed udev rule

This commit is contained in:
Harald Hoyer 2007-09-07 06:01:30 +00:00
parent a6371d33dc
commit 66f6eb0183
2 changed files with 5 additions and 2 deletions

View File

@ -23,7 +23,7 @@ diff -up pcmciautils-014/udev/rules-base.newrule pcmciautils-014/udev/rules-base
# returns, so that "strong" matches have a higher priority.
-ACTION=="add", SUBSYSTEM=="pcmcia", 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
+ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", ATTR{allow_func_id_match}="1"
# PCMCIA sockets:
#

View File

@ -2,7 +2,7 @@ Name: pcmciautils
Summary: PCMCIA utilities and initialization programs
License: GPLv2
Version: 014
Release: 10%{?dist}
Release: 11%{?dist}
Group: System Environment/Base
ExclusiveArch: i386 x86_64 ia64 ppc ppc64 %{?arm}
URL: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
@ -54,6 +54,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_mandir}/man*/pccardctl*
%changelog
* Fri Sep 07 2007 Harald Hoyer <harald@redhat.com> - 014-11
- fixed udev rule
* Wed Aug 22 2007 Harald Hoyer <harald@redhat.com> - 014-10
- changed license tag
- added arm architecture