diff options
Diffstat (limited to 'udev-config/contrib/debian/83-cdrom-symlinks.rules')
-rw-r--r-- | udev-config/contrib/debian/83-cdrom-symlinks.rules | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/udev-config/contrib/debian/83-cdrom-symlinks.rules b/udev-config/contrib/debian/83-cdrom-symlinks.rules deleted file mode 100644 index 4713c0b92..000000000 --- a/udev-config/contrib/debian/83-cdrom-symlinks.rules +++ /dev/null @@ -1,12 +0,0 @@ -# /etc/udev/rules.d/83-cdrom-symlinks.rules: Determine CD drive capability. - -ACTION!="add", GOTO="cd_aliases_generator_end" -SUBSYSTEM!="block", GOTO="cd_aliases_generator_end" -ENV{GENERATED}=="?*", GOTO="cd_aliases_generator_end" - -# Fail the uevent if the autogenerated rules cannot be saved -ENV{ID_CDROM}=="?*", PROGRAM="/bin/grep -c ' / [^[:space:]]* rw' /proc/mounts", RESULT!="2", RUN+="/bin/false", GOTO="cd_aliases_generator_end" - -ENV{ID_CDROM}=="?*", PROGRAM="write_cd_aliases", SYMLINK+="%c" - -LABEL="cd_aliases_generator_end" |