Ignore:
Timestamp:
May 8, 2013 5:45:33 PM (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
6ffb65b
Parents:
4950767
Message:

Add ability to start first boot wizard immediately after the X gui is run

This means we don't have to wait for X to shutdown, then re-launch and may fix some
bugs with X shutdowns causing a crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-xgui/resources/scripts/xinit-autodetect

    r1620346 r6f96fdf  
    11#!/bin/sh  
     2 
     3# Source our functions 
     4. /usr/local/share/pcbsd/scripts/functions.sh 
    25 
    36# Set all our path variables 
     
    2629fi 
    2730/usr/local/bin/pc-xgui 
    28 if [ "$?" = "1" ] ; then 
     31if [ "$?" = "0" ] ; then 
     32 # Run the firstboot script immediately 
     33 run_firstboot 
     34else 
    2935 echo "Canceled" > ${XGUITMP}/.canceled 
    3036fi 
Note: See TracChangeset for help on using the changeset viewer.