mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
Replace "add" with "add|change" everywhere (for ACTION matches). Fixes #2270.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8771 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
cd358b8069
commit
a9c6b8fdf1
@ -84,4 +84,4 @@ KERNEL=="st[0-9]*", GROUP="tape"
|
||||
KERNEL=="nst[0-9]*", GROUP="tape"
|
||||
|
||||
# Override floppy devices
|
||||
KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k"
|
||||
KERNEL=="fd[0-9]", ACTION=="add|change", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k"
|
||||
|
@ -1,3 +1,3 @@
|
||||
# /etc/udev/rules.d/61-cdrom.rules: Set CD-ROM permissions.
|
||||
|
||||
ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", GROUP="cdrom"
|
||||
ACTION=="add|change", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", GROUP="cdrom"
|
||||
|
@ -2,6 +2,8 @@
|
||||
* 55-lfs.rules: Remove several rules that are either provided by upstream,
|
||||
or that don't have any effect (there is no /dev/js or /dev/djs according
|
||||
to devices.txt).
|
||||
* 55-lfs.rules, 61-cdrom.rules: Replace ACTION=="add" with "add|change"
|
||||
everywhere, per upstream's general request.
|
||||
|
||||
2008-11-11 Bryan Kadzban <bryan@linuxfromscratch.org>
|
||||
* 55-lfs.rules, 61-cdrom.rules: Fix comments to use the right rule
|
||||
|
Loading…
Reference in New Issue
Block a user