[Glibc-bsd-commits] r1518 - trunk/kfreebsd-common/debian
Robert Millan
rmh at costa.debian.org
Fri Apr 28 16:56:38 UTC 2006
Author: rmh
Date: 2006-04-28 16:56:37 +0000 (Fri, 28 Apr 2006)
New Revision: 1518
Modified:
trunk/kfreebsd-common/debian/changelog
trunk/kfreebsd-common/debian/init.d
Log:
Fix /dev/cdrom symlink handling.
Modified: trunk/kfreebsd-common/debian/changelog
===================================================================
--- trunk/kfreebsd-common/debian/changelog 2006-04-28 15:36:40 UTC (rev 1517)
+++ trunk/kfreebsd-common/debian/changelog 2006-04-28 16:56:37 UTC (rev 1518)
@@ -1,3 +1,9 @@
+kfreebsd-common (0.2.4) unreleased; urgency=low
+
+ * Fix /dev/cdrom symlink handling.
+
+ -- Robert Millan <rmh at aybabtu.com> Fri, 28 Apr 2006 18:54:49 +0200
+
kfreebsd-common (0.2.3) unreleased; urgency=low
* kern.module_path component separator is ';', not ':'.
Modified: trunk/kfreebsd-common/debian/init.d
===================================================================
--- trunk/kfreebsd-common/debian/init.d 2006-04-28 15:36:40 UTC (rev 1517)
+++ trunk/kfreebsd-common/debian/init.d 2006-04-28 16:56:37 UTC (rev 1518)
@@ -62,8 +62,8 @@
done
# setup /dev/cdrom symlink
-if ! test -e /dev/cdrom ; then
- for i in {,a}cd[0-9] ; do
+if ! test -e /dev/cdrom && ! test -L /dev/cdrom ; then
+ for i in {,a}cd{0,1,2,3,4,5,6,7,8,9} ; do
if test -e /dev/$i ; then
ln -s $i /dev/cdrom
break
More information about the Glibc-bsd-commits
mailing list