Changeset 1fff3bab


Ignore:
Timestamp:
07/15/14 13:49:25 (10 months ago)
Author:
Josh <joshms@…>
Branches:
master, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
19bab26, 9461624
Parents:
366cd80
Message:

Put hardware detection output inside a nice looking box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-installdialog/pc-installdialog.sh

    r366cd80 r1fff3bab  
    446446get_hardware_info() 
    447447{ 
    448  
    449448  #This is to detect an active network card for FreeBSD & PC-BSD 
    450449   ifconfig | grep -q 'status: active' 
    451450   if [ $? -eq 0 ] ; then 
    452      echo "Compatible Network Card Detected: NIC is up" 
     451     echo "Compatible Network Card Detected: NIC is up" >> /tmp/.hardwareinfo.$$ 
    453452   else 
    454      echo "No Compatible Network Card Detected: NIC is down"     
     453     echo "No Compatible Network Card Detected: NIC is down" >> /tmp/.hardwareinfo.$$   
    455454     fi 
    456    echo "Detected Hard Disks:" 
    457    $PCSYS disk-list 
    458    rtn 
     455   echo "Detected Hard Disks:" >> /tmp/.hardwareinfo.$$ 
     456   $PCSYS disk-list >> /tmp/.hardwareinfo.$$ 
     457   dialog --tailbox /tmp/.hardwareinfo.$$ 30 60 
     458   rm /tmp/.hardwareinfo.$$ 
    459459} 
    460460 
Note: See TracChangeset for help on using the changeset viewer.