[PC-BSD Commits] r2411 - pcbsd/trunk/mfsroot-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Tue Jul 22 11:34:14 PDT 2008


Author: kris
Date: 2008-07-22 11:34:14 -0700 (Tue, 22 Jul 2008)
New Revision: 2411

Modified:
   pcbsd/trunk/mfsroot-overlay/etc/rc
Log:

Fixed up the rc startup script for USB a bit more



Modified: pcbsd/trunk/mfsroot-overlay/etc/rc
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/rc	2008-07-22 18:19:20 UTC (rev 2410)
+++ pcbsd/trunk/mfsroot-overlay/etc/rc	2008-07-22 18:34:14 UTC (rev 2411)
@@ -79,21 +79,21 @@
 if [ "$FOUND" = "0" ]
 then
 
-CDDEVS="/dev/da0s1a
+USBDEVS="/dev/da0s1a
 /dev/da1s1a
 /dev/da2s1a
 /dev/da3s1a
 /dev/da4s1a
 /dev/da5s1a" 
 
-for i in $CDDEVS
+for j in $USBDEVS
 do
   # Find the CD Device
-  /sbin/mount_msdosfs $i /mnt >/dev/null 2>/dev/null
+  /sbin/mount $j /mnt >/dev/null 2>/dev/null
   if [ -e "/mnt/uzip/usr.uzip" ]
   then
    FOUND=1 
-   CDDEV="$i"
+   CDDEV="$j"
    break
   else
    /sbin/umount /mnt >/dev/null 2>/dev/null



More information about the Commits mailing list