2009-04-16 22:29:56 +00:00
|
|
|
# do not edit this file, it will be overwritten on update
|
2006-09-05 01:43:14 +00:00
|
|
|
|
2010-04-12 14:52:41 +00:00
|
|
|
ACTION=="remove", GOTO="cdrom_end"
|
2010-04-11 23:12:23 +00:00
|
|
|
SUBSYSTEM!="block", GOTO="cdrom_end"
|
|
|
|
KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end"
|
|
|
|
ENV{DEVTYPE}!="disk", GOTO="cdrom_end"
|
|
|
|
|
2011-04-04 09:47:54 +00:00
|
|
|
# this is only a button press event
|
|
|
|
ENV{DISK_EJECT_REQUEST}=="?*", GOTO="cdrom_end"
|
|
|
|
|
2010-04-27 10:26:00 +00:00
|
|
|
KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1"
|
2011-05-16 16:11:50 +00:00
|
|
|
IMPORT{program}="cdrom_id $tempnode"
|
2010-04-11 23:12:23 +00:00
|
|
|
|
|
|
|
LABEL="cdrom_end"
|