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

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 26d931b was 26d931b, checked in by Kris Moore <kris@…>, 14 months ago

Update text-installer with a more fleshed out menu, letting us do
some new things such as:

  • go back and change disk parameters before installation.
  • View install script
  • Edit install script
  • Property mode set to 100755
File size: 996 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)  shutdown -r now ;;
30          *) ;;
31esac
32
33
34
35done
36
37
Note: See TracBrowser for help on using the repository browser.