chiark / gitweb /
fixups to get back to proper patch order
[elogind.git] / extras / name_cdrom.pl
index 3a4772e6d9389d3d82f1fb16b3bc90ddb9a6cbca..766f6f366a6ac756a5e50cf006f3c56bdcf1fbca 100644 (file)
@@ -2,7 +2,7 @@
 
 # a horribly funny script that shows how flexible udev can really be
 # This is to be executed by udev with the following rules:
-# KERNEL="[hs]d[a-z]", PROGRAM="name_cdrom.pl %M %m", NAME="%1c", SYMLINK="cdrom"
+# KERNEL="[hs]d[a-z]", PROGRAM="name_cdrom.pl %M %m", NAME="%c{1}", SYMLINK="cdrom"
 
 use strict;
 use warnings;