welcome() { messagebox -y 10 -x 70 -h $"Welcome" $"Welcome to the ${DEFAULT_TITLE}.\n\n\nPress [Enter] to continue." } finish() { OK_LABEL=$"Exit" messagebox -y 10 -x 70 -h $"Finish" $"Installation was successfully finished." } dialog_setup_hdd_create_partitions() { infobox $"Creating partitions ..." } dialog_setup_hdd_format() { infobox $"Creating filesystems ..." } dialog_install_settings() { infobox $"Saving system settings ..." } dialog_install_system_image() { gaugebox $"Copying system image ..." } dialog_install_initrd() { infobox $"Writing initrd ..." } dialog_install_bootsector() { infobox $"Writing bootsector ..." } dialog_install_successful() { messagebox $"The installation was \Z2successful\Zn." } dialog_install_failure() { messagebox $"The installation \Z1failed\Zn.\n\nError at ${ERROR}, RetVal: ${RETVAL}" } dialog_no_harddrive_found() { OK_LABEL=$"Abort" messagebox $"No appropriate harddrive found.\nInstallation failed." } dialog_select_target_harddrive() { menubox $"Select installation target drive:" $(for i in ${ALL_DISKS}; do echo "${i}:";done) } dialog_setup_hdd_info() { local drivenode="${HDD//\/dev\/}1" messagebox -h $"[ Harddrive partitioning ]" \ $"Please create 1 partition.\n\n[ \Z3${drivenode}\Zn ] type: \Z3linux\Zn with the whole diskspace.\nPlease mark ${drivenode} \Z3bootable\Zn." } dialog_setup_hdd_info_auto() { local drivenode="${HDD//\/dev\/}" messagebox -h $"[ Harddrive partitioning ]" \ $"\Z1Warning!\Zn\n\nAll data on disk [ \Z3${drivenode}\Zn ] will be erased!" } dialog_setup_system_menu() { menubox -h $"[ Harddrive partitioning ]" $"\nSelect an installation mode" \ $"1:Automatic setup (recommended)" \ ":" \ $":\Z1Expert modes:\Zn" \ $"2:Common IDE-disk (manual setup)" } dialog_main() { CANCEL_LABEL=$"Exit" menubox $"Configuration:" \ $"1:Install system" \ $"2:Show detected harddrives" \ $"3:Exit and reboot" \ $"4:Exit and drop into a shell" }