40 |
|
|
41 |
dialog_install_successful() |
dialog_install_successful() |
42 |
{ |
{ |
43 |
messagebox $"The installation was \Z2successful\Zn." |
OK_LABEL=$"Finish" messagebox $"The installation was \Z2successful\Zn." |
44 |
} |
} |
45 |
|
|
46 |
dialog_install_failure() |
dialog_install_failure() |
50 |
|
|
51 |
dialog_no_harddrive_found() |
dialog_no_harddrive_found() |
52 |
{ |
{ |
53 |
OK_LABEL=$"abort" messagebox $"No appropriate harddrive found.\nInstallation failed." |
OK_LABEL=$"Abort" messagebox $"No appropriate harddrive found.\nInstallation failed." |
54 |
} |
} |
55 |
|
|
56 |
dialog_select_target_harddrive() |
dialog_select_target_harddrive() |
57 |
{ |
{ |
58 |
menubox $"Select installation target drive:" $(for i in ${ALL_DISKS}; do echo "${i}:";done) |
menubox $"Select installation target drive:" $(for i in ${ALL_DISKS}; do echo "${i}:";done) |
59 |
} |
} |
60 |
|
|
61 |
|
dialog_setup_hdd_info() |
62 |
|
{ |
63 |
|
local drivenode="${HDD//\/dev\/}1" |
64 |
|
|
65 |
|
messagebox -h $"[ Harddrive partitioning ]" \ |
66 |
|
$"Please create 1 partition.\n\n[ \Z3${drivenode}\Zn ] type: \Z3linux\Zn with the whole diskspace.\nPlease mark ${drivenode} \Z3bootable\Zn." |
67 |
|
} |
68 |
|
|
69 |
|
dialog_setup_hdd_info_auto() |
70 |
|
{ |
71 |
|
local drivenode="${HDD//\/dev\/}" |
72 |
|
|
73 |
|
messagebox -h $"[ Harddrive partitioning ]" \ |
74 |
|
$"\Z1Warning!\Zn\n\nAll data on disk [ \Z3${drivenode}\Zn ] will be erased!" |
75 |
|
} |
76 |
|
|
77 |
|
dialog_setup_system_menu() |
78 |
|
{ |
79 |
|
menubox -h $"[ Harddrive partitioning ]" $"\nSelect an installation mode" \ |
80 |
|
$"1:Automatic setup (recommended)" \ |
81 |
|
":" \ |
82 |
|
$":\Z1Expert modes:\Zn" \ |
83 |
|
$"2:Common IDE-disk (manual setup)" |
84 |
|
} |
85 |
|
|
86 |
|
dialog_main() |
87 |
|
{ |
88 |
|
CANCEL_LABEL=$"Exit" menubox $"Configuration:" \ |
89 |
|
$"1:Install system" \ |
90 |
|
$"2:Show detected harddrives" \ |
91 |
|
$"3:Exit and reboot" \ |
92 |
|
$"4:Exit and drop into a shell" |
93 |
|
} |