Changeset 2617

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

Update the beastie.4th installer script to allow the user to select vesa
on / off instead of just booting right away

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/installcd-overlay/boot/beastie.4th

    r2029 r2617  
    4444variable bootverbosekey 
    4545variable bootemergencykey 
    46 variable bootvesakey 
    4746variable bootzfskey 
    4847variable bootsinglekey 
    4948variable escapekey 
    5049variable rebootkey 
     50variable xvesa 
     51variable xvesa_set 
    5152 
    525346 constant dot 
     
    217218        printmenuitem ."  Boot PC-BSD with verbose logging" bootverbosekey ! 
    218219        printmenuitem ."  Boot PC-BSD to emergency console" bootemergencykey ! 
    219         printmenuitem ."  Run installer in VESA mode" bootvesakey ! 
     220        printmenuitem ."  Run installer in VESA mode" xvesa ! 
    220221        printmenuitem ."  Boot PC-BSD with ZFS support" bootzfskey ! 
    221222        printmenuitem ."  Escape to loader prompt" escapekey ! 
     
    258259                drop 
    259260        then 
     261        s" NO" s" xvesa" setenv 
     262        0 xvesa_set ! 
    260263        beastie-menu 
    261264        s" autoboot_delay" getenv 
     
    307310                        0 boot 
    308311                then 
    309                 dup bootvesakey @ = if 
    310                         s" /boot/kernel;/boot/modules;/VESA/" s" module_path" setenv 
    311                         0 boot 
     312                dup xvesa @ = if 
     313                        xvesa_set @ 1 = if 
     314                                menuX @ 23 at-xy 
     315                                ." xvesa unset"  
     316                                s" NO" s" xvesa" setenv 
     317                                0 xvesa_set ! 
     318                        else 
     319                                menuX @ 23 at-xy 
     320                                ." xvesa set  "  
     321                                s" YES" s" xvesa" setenv 
     322                                1 xvesa_set ! 
     323                        then 
    312324                then 
    313325                dup bootsinglekey @ = if