Changeset 2620

Show
Ignore:
Timestamp:
08/19/08 18:24:22 (3 months ago)
Author:
kris
Message:

Fixed the install startup script to get our kernel variable for ZFS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/mfsroot-overlay/root/PCBSDStart.sh

    r2618 r2620  
    4646# Check for VESA support 
    4747xvesa="NO" 
    48 v=`kenv xvesa` 
     48v=`/bin/kenv xvesa` 
    4949if [ $? -eq 0 ]; then 
    5050        xvesa=$v 
     
    5858 
    5959# Check if the user enabled ZFS support and do it 
    60 /sbin/sysctl kern.module_path | /usr/bin/grep "ZFS" >/dev/null 2>/dev/null 
    61 FOUND="$?" 
    62 if [ "$FOUND" = "0" ] 
     60bootzfs="NO" 
     61v=`/bin/kenv bootzfs` 
     62if [ $? -eq 0 ]; then 
     63        bootzfs=$v 
     64fi 
     65 
     66if [ "$bootzfs" = "YES" ] 
    6367then 
    6468  echo '