source: overlays/install-overlay/root/PCBSDtext.sh @ a97b854

releng/10.0.2releng/10.0.3
Last change on this file since a97b854 was a97b854, checked in by Kris Moore <kris@…>, 6 months ago

Use speed up the reboot process after doing an install, using
'reboot -q' instead of shutdown -r now

  • Property mode set to 100755
File size: 990 bytes
Line 
1#!/bin/sh
2# PC-BSD System Install Menu
3# Copyright 2013 PC-BSD Software
4# http://www.pcbsd.com
5# Author: Kris Moore
6###########################################################################
7
8. /root/functions.sh
9
10DRES="1024x768" 
11
12while
13i="1"
14do
15
16dialog --title "PC-BSD Installation Menu" --menu "Please select from the following options:" 20 55 15 install "Start text install" xorg "Start graphical install" vesa "Start graphical install (VESA)" utility "System Utilities" reboot "Reboot the system" 2>/tmp/answer
17
18ANS="`cat /tmp/answer`"
19
20case $ANS in
21    install) /usr/local/bin/pc-installdialog ;;
22    xinstall) echo "Starting PC-BSD System Installer.. Please wait.."
23             startx 2>/tmp/Xerrors ;;
24       vesa) echo "Starting PC-BSD System Installer.. Please wait.."
25 cp /root/cardDetect/XF86Config.compat /etc/X11/xorg.conf
26             startx 2>/tmp/Xerrors ;;
27    utility) /root/PCBSDUtil.sh
28              clear ;;
29     reboot)  reboot -q ;;
30          *) ;;
31esac
32
33
34
35done
36
37
Note: See TracBrowser for help on using the repository browser.