aboutsummaryrefslogtreecommitdiffstats
path: root/udev-lfs/81-cdrom.rules
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-10-13 16:14:09 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-10-13 16:14:09 +0000
commit12574f2c42069a8d63ebc3ae63b9db084536163a (patch)
tree480847ff8087b2242b9147e16526e9e59a154c3f /udev-lfs/81-cdrom.rules
parent5cef3143bf3c152b39cf3a38ea0b08f00b0596a9 (diff)
Add boot/shutdown script customization instructions
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10016 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'udev-lfs/81-cdrom.rules')
-rw-r--r--udev-lfs/81-cdrom.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev-lfs/81-cdrom.rules b/udev-lfs/81-cdrom.rules
new file mode 100644
index 000000000..cb7ea5748
--- /dev/null
+++ b/udev-lfs/81-cdrom.rules
@@ -0,0 +1,3 @@
+# /etc/udev/rules.d/81-cdrom.rules: Set CD-ROM permissions and get device capabilities
+
+ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", IMPORT{program}="cdrom_id --export $tempnode", GROUP="cdrom"