ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/hw-detect
sparky
cvs at pld-linux.org
Tue Feb 28 20:12:10 CET 2006
Author: sparky
Date: Tue Feb 28 20:12:05 2006
New Revision: 7046
Modified:
ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/hw-detect
Log:
- fix cdroms detection
Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/hw-detect
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/hw-detect (original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/hw-detect Tue Feb 28 20:12:05 2006
@@ -44,8 +44,8 @@
# Searching for cdroms #######################################################
verbose 2 " +-Searching CDROMs"
modprobe ide-cd
-cddev=$(grep /media/ppcrcd /etc/fstab | awk '{print $1}')
-[ -n "$cddevs" ] && cddev=$(lastlink $cddev)
+cddevs=$(grep /media/ppcrcd /etc/fstab | awk '{print $1}')
+[ -n "$cddevs" ] && cddevs=$(lastlink $cddevs)
cddevs=" $cddev "
for cdrom in /dev/{dvd,cdwriter,cdrom} /dev/{dvd,cdwriter,cdrom}*; do
More information about the pld-cvs-commit
mailing list