[PC-BSD Commits] r1844 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Tue May 6 10:54:47 PDT 2008


Author: melkor
Date: 2008-05-06 10:54:47 -0700 (Tue, 06 May 2008)
New Revision: 1844

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountCD.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountLangCD.sh
Log:

-- Change the static boot device list to script --

M    scripts/PCBSD.MountCD.sh
M    scripts/PCBSD.MountLangCD.sh


Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountCD.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountCD.sh	2008-05-06 16:38:55 UTC (rev 1843)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountCD.sh	2008-05-06 17:54:47 UTC (rev 1844)
@@ -3,14 +3,7 @@
 
 FOUND=0
 
-CDDEVS="/dev/acd0
-/dev/acd1
-/dev/acd2
-/dev/cd0
-/dev/cd1
-/dev/cd2"
-
-for i in $CDDEVS
+for i in `ls -1 /dev/acd* /dev/cd* /dev/scd* /dev/rscd*`
 do
   # Find the CD Device
   /sbin/mount_cd9660 $i /cdmnt

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountLangCD.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountLangCD.sh	2008-05-06 16:38:55 UTC (rev 1843)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountLangCD.sh	2008-05-06 17:54:47 UTC (rev 1844)
@@ -5,14 +5,7 @@
 
 FOUND=0
 
-CDDEVS="/dev/acd0
-/dev/acd1
-/dev/acd2
-/dev/cd0
-/dev/cd1
-/dev/cd2"
-
-for i in $CDDEVS
+for i in `ls -1 /dev/acd* /dev/cd* /dev/scd* /dev/rscd*`
 do
   # Find the CD Device
   /sbin/mount_cd9660 $i /cdmnt



More information about the Commits mailing list