8 : ${DIALOG_ITEM_HELP=4}
11 TERM=xterm; export TERM # XXX: serial consoles
13 dialog --backtitle "FreeBSD Installer" --title "Welcome" --extra-button --extra-label "Shell" --ok-label "Install" --cancel-label "Live CD" --yesno "Welcome to FreeBSD! Would you like to begin an installation or use the live CD?" 0 0
17 BSDINSTALL_CONFIGCURRENT=yes; export BSDINSTALL_CONFIGCURRENT
18 trap true SIGINT # Ignore cntrl-C here
21 dialog --backtitle "FreeBSD Installer" --title "Complete" --yes-label "Reboot" --no-label "Live CD" --yesno "Installation of FreeBSD complete! Would you like to reboot into the installed system now?" 0 0 && reboot
26 $DIALOG_CANCEL) # Live CD
29 $DIALOG_EXTRA) # Shell
31 echo "When finished, type 'exit' to return to the installer."