Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/jail
Context not available. | |||||
if [ -n "$1" ]; then | if [ -n "$1" ]; then | ||||
msg="$1\n\n" | msg="$1\n\n" | ||||
fi | fi | ||||
dialog --backtitle "FreeBSD Installer" --title "Abort" \ | dialog --backtitle "$OSNAME Installer" --title "Abort" \ | ||||
--no-label "Exit" --yes-label "Restart" --yesno \ | --no-label "Exit" --yes-label "Restart" --yesno \ | ||||
"${msg}An installation step has been aborted. Would you like to restart the installation or exit the installer?" 0 0 | "${msg}An installation step has been aborted. Would you like to restart the installation or exit the installer?" 0 0 | ||||
if [ $? -ne 0 ]; then | if [ $? -ne 0 ]; then | ||||
Context not available. | |||||
then | then | ||||
exec 3>&1 | exec 3>&1 | ||||
EXTRA_DISTS=$(echo $DISTMENU | xargs dialog \ | EXTRA_DISTS=$(echo $DISTMENU | xargs dialog \ | ||||
--backtitle "FreeBSD Installer" \ | --backtitle "$OSNAME Installer" \ | ||||
--title "Distribution Select" --nocancel --separate-output \ | --title "Distribution Select" --nocancel --separate-output \ | ||||
--checklist "Choose optional system components to install:" \ | --checklist "Choose optional system components to install:" \ | ||||
0 0 0 \ | 0 0 0 \ | ||||
Context not available. | |||||
then | then | ||||
bsdinstall services | bsdinstall services | ||||
dialog --backtitle "FreeBSD Installer" --title "Add User Accounts" --yesno \ | dialog --backtitle "$OSNAME Installer" --title "Add User Accounts" --yesno \ | ||||
"Would you like to add users to the installed system now?" 0 0 && \ | "Would you like to add users to the installed system now?" 0 0 && \ | ||||
bsdinstall adduser | bsdinstall adduser | ||||
fi | fi | ||||
Context not available. |