Changeset 1949

Show
Ignore:
Timestamp:
05/22/08 10:48:37 (6 months ago)
Author:
tim
Message:

Added integrity check to installation procedure

Location:
pcbsd/trunk/mfsroot-overlay/etc
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/mfsroot-overlay/etc/rc

    r1746 r1949  
    8787/bin/cp /mnt/uzip/usr.uzip /uzip/ 
    8888 
     89# Run integrity checks 
     90/etc/IntegrityCheck.sh 
     91if [ "$?" != "0" ] 
     92then 
     93 echo "One or more integrity checks failed. This can indicate a corrupt installation medium." 
     94 echo "Please reburn your CD and check the md5 of your ISO against the md5 displayed on the" 
     95 echo "PC-BSD site. To reboot press ENTER. To continue at your own peril type 'continue': " 
     96 read integrityResponse 
     97 if [ "$integrityResponse" != "continue" ] 
     98 then 
     99  echo "reboot" 
     100 fi 
     101fi 
     102 
    89103# Mount the  "usr" directory 
    90104echo "Mounting /usr"