bug 1215
if graphical start failed, will start text install. modified: main/setup
This commit is contained in:
@@ -86,6 +86,12 @@ main(){
|
||||
if [ $xstart = 'yes' ]; then
|
||||
X -configure
|
||||
startx ${work_write_dir}/${exec_file} -- -config ~/xorg.conf.new
|
||||
ret=$?
|
||||
if [ $ret -ne 0 ];then
|
||||
xstart='no';style="dialog" ;workdir="/usr/lib/new_install/dialog";
|
||||
config_execfile "$style"
|
||||
bash ${work_write_dir}/${exec_file}
|
||||
fi
|
||||
else
|
||||
bash ${work_write_dir}/${exec_file}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user