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

svn at pcbsd.org svn at pcbsd.org
Sat May 24 13:32:19 PDT 2008


Author: kris
Date: 2008-05-24 13:32:19 -0700 (Sat, 24 May 2008)
New Revision: 1974

Modified:
   pcbsd/trunk/mfsroot-overlay/etc/IntegrityCheck.sh
   pcbsd/trunk/mfsroot-overlay/etc/rc
Log:

Cleaned up the output from the Integrity check a bit, so it looks nicer on 
bootup



Modified: pcbsd/trunk/mfsroot-overlay/etc/IntegrityCheck.sh
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/IntegrityCheck.sh	2008-05-24 20:27:33 UTC (rev 1973)
+++ pcbsd/trunk/mfsroot-overlay/etc/IntegrityCheck.sh	2008-05-24 20:32:19 UTC (rev 1974)
@@ -6,7 +6,7 @@
 # This script checks the md5 of the usr.uzip filesystem,
 # and optionally the PCBSD.tar.lzma installer archive.
 
-echo -n "Checking integrity of uzip filesystem... "
+echo -e "Checking integrity of uzip filesystem...\c"
 
 /sbin/md5 -q /uzip/usr.uzip | /bin/cmp -s /mnt/uzip/usr.uzip.md5 -
 
@@ -18,12 +18,12 @@
  echo "OK"
 fi
 
-echo -n "Check integrity of installer archive? This may take several minutes. [y]: "
+echo -e "Check integrity of installer archive?\n This may take several minutes. [y]: "
 read -t15s response
 
 if [ "$response" != "n" ]
 then
- echo -n "Checking integrity of installer archive... "
+ echo -e "\nChecking integrity of installer archive...\c"
  /sbin/md5 -q /mnt/PCBSD.tar.lzma  | /bin/cmp -s /mnt/PCBSD.tar.lzma.md5 -
  
  if [ "$?" != "0" ]

Modified: pcbsd/trunk/mfsroot-overlay/etc/rc
===================================================================
--- pcbsd/trunk/mfsroot-overlay/etc/rc	2008-05-24 20:27:33 UTC (rev 1973)
+++ pcbsd/trunk/mfsroot-overlay/etc/rc	2008-05-24 20:32:19 UTC (rev 1974)
@@ -90,9 +90,10 @@
 /etc/IntegrityCheck.sh
 if [ "$?" != "0" ]
 then
- echo "One or more integrity checks failed. This can indicate a corrupt installation medium."
- echo "Please reburn your CD and check the md5 of your ISO against the md5 displayed on the"
- echo "PC-BSD site. To reboot press ENTER. To continue at your own peril type 'continue': "
+ echo "One or more integrity checks failed. This can indicate a corrupt 
+installation medium. Please reburn your CD and check the md5 of your ISO 
+against the md5 displayed on the PC-BSD site. To reboot press ENTER. 
+To continue at your own peril type 'continue': "
  read integrityResponse
  if [ "$integrityResponse" != "continue" ]
  then



More information about the Commits mailing list