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() |
60 |
|
|
61 |
dialog_setup_hdd_info() |
dialog_setup_hdd_info() |
62 |
{ |
{ |
63 |
local drivenode="${HDD//\/dev\/}" |
case "${INSTALL_METHOD}" in |
64 |
|
auto) |
65 |
|
dialog_setup_hdd_info_auto |
66 |
|
dialog_setup_hdd_create_partitions |
67 |
|
;; |
68 |
|
normal) dialog_setup_hdd_info_normal ;; |
69 |
|
esac |
70 |
|
} |
71 |
|
|
72 |
|
dialog_setup_hdd_info_normal() |
73 |
|
{ |
74 |
|
local drivenode="${HDD//\/dev\/}1" |
75 |
|
|
76 |
messagebox -h $"[ Harddrive partitioning ]" \ |
messagebox -h $"[ Harddrive partitioning ]" \ |
77 |
$"Please create 1 partition.\n\n[ \Z3${drivenode}1\Zn ] type: \Z3linux\Zn with the whole diskspace.\nPlease mark ${SHDD}1 \Z3bootable\Zn." |
$"Please create 1 partition.\n\n[ \Z3${drivenode}\Zn ] type: \Z3linux\Zn with the whole diskspace.\nPlease mark ${drivenode} \Z3bootable\Zn." |
78 |
} |
} |
79 |
|
|
80 |
dialog_setup_hdd_info_auto() |
dialog_setup_hdd_info_auto() |
93 |
$":\Z1Expert modes:\Zn" \ |
$":\Z1Expert modes:\Zn" \ |
94 |
$"2:Common IDE-disk (manual setup)" |
$"2:Common IDE-disk (manual setup)" |
95 |
} |
} |
96 |
|
|
97 |
|
dialog_main() |
98 |
|
{ |
99 |
|
CANCEL_LABEL=$"Exit" menubox $"Configuration:" \ |
100 |
|
$"1:Install system" \ |
101 |
|
$"2:Show detected harddrives" \ |
102 |
|
$"3:Exit and reboot" \ |
103 |
|
$"4:Exit and drop into a shell" |
104 |
|
} |