[PC-BSD Commits] r430 - pcbsd/trunk/system-overlay/PCBSD/cardDetect

svn at pcbsd.org svn at pcbsd.org
Sun Jul 8 17:02:38 PDT 2007


Author: kris
Date: 2007-07-09 01:02:38 +0100 (Mon, 09 Jul 2007)
New Revision: 430

Modified:
   pcbsd/trunk/system-overlay/PCBSD/cardDetect/sound_detect.sh
Log:

Removed unnecessary echo statements and fixed formatting



Modified: pcbsd/trunk/system-overlay/PCBSD/cardDetect/sound_detect.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/cardDetect/sound_detect.sh	2007-07-09 00:00:47 UTC (rev 429)
+++ pcbsd/trunk/system-overlay/PCBSD/cardDetect/sound_detect.sh	2007-07-09 00:02:38 UTC (rev 430)
@@ -22,7 +22,6 @@
 PATH_ORIG=/PCBSD/cardDetect
 FILE_1=${PATH_ORIG}/sound_defines
 STR_ID=`pciconf -l | sed -n 's/.*class=0x040100.*chip=\([^ ]*\).*/\1/p'`
-echo "STR_ID: ${STR_ID}"
 
 if [ -n "$STR_ID" ]
 then
@@ -30,7 +29,6 @@
     CARD=`zgrep $STR_ID ${FILE_1} | awk '{print $1}'`
 else
     STR_ID=`pciconf -l | sed -n 's/.*class=0x040300.*chip=\([^ ]*\).*/\1/p'`
-    echo "STR_ID: ${STR_ID}"
 
     if [ -n "${STR_ID}" ]
     then
@@ -42,7 +40,8 @@
 
 if [ ! -n "$CARD" ]
 then
-    echo "No known driver matched your sound card."
+    echo "
+No known driver matched your sound card."
     echo "Maybe you have an sound card, that is too new."
     echo "All sound drivers will be given opportiunity to probe for cards."
     CARD=snd_driver
@@ -50,9 +49,11 @@
 
 if [ "$VENDOR_ID" = "8086" ]
 then
-    echo "It looks like you have an Intel ICH sound Card."
+    echo "
+It looks like you have an Intel ICH sound Card."
     CARD=snd_ich
 fi
 
-echo "Loading $CARD audio driver..."
+echo "
+Loading $CARD audio driver..."
 kldload $CARD



More information about the Commits mailing list