Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/auto
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
| msg_shell_help="Create customized partitions using command-line utilities" | msg_shell_help="Create customized partitions using command-line utilities" | ||||
| msg_yes="YES" | msg_yes="YES" | ||||
| ############################################################ FUNCTIONS | ############################################################ FUNCTIONS | ||||
| # error [$msg] | # error [$msg] | ||||
| # | # | ||||
| # Display generic error message when a script fails. An optional message | # Display generic error message when a script fails. An optional message | ||||
| # argument can preceed the generic message. User is given the choice of | # argument can precede the generic message. User is given the choice of | ||||
| # restarting the installer or exiting. | # restarting the installer or exiting. | ||||
| # | # | ||||
| error() | error() | ||||
| { | { | ||||
| local title="$msg_abort" | local title="$msg_abort" | ||||
| local btitle="$msg_freebsd_installer" | local btitle="$msg_freebsd_installer" | ||||
| local prompt="${1:+$1\n\n}$msg_an_installation_step_has_been_aborted" | local prompt="${1:+$1\n\n}$msg_an_installation_step_has_been_aborted" | ||||
| local hline="$hline_arrows_tab_space_enter" | local hline="$hline_arrows_tab_space_enter" | ||||
| ▲ Show 20 Lines • Show All 408 Lines • Show Last 20 Lines | |||||