7 |
# Niels Rogalla <niro@magellan-linux.de> |
# Niels Rogalla <niro@magellan-linux.de> |
8 |
# |
# |
9 |
|
|
10 |
# ignore the environment |
# setup locales |
11 |
LC_ALL=C |
TEXTDOMAIN=installer |
12 |
|
LC_MESSAGES=C |
13 |
|
|
14 |
# include dir |
# include dir |
15 |
INSTALLER_LIBDIR="%LIBDIR%" |
INSTALLER_LIBDIR="%LIBDIR%" |
16 |
|
|
110 |
fi |
fi |
111 |
} |
} |
112 |
|
|
|
dialog_setup_hdd_info() |
|
|
{ |
|
|
local SHDD="${HDD//\/dev\/}" |
|
|
|
|
|
messagebox -h $"[ Harddrive partitioning ]" \ |
|
|
$"\nPlease create 1 partition.\n\n\[ \Z3${SHDD}1\Zn ] type: \Z3linux\Zn with the whole diskspace\n\Please mark ${SHDD}1 \Z3bootable\Zn." |
|
|
} |
|
|
|
|
|
dialog_setup_hdd_info_auto() |
|
|
{ |
|
|
local SHDD="${HDD//\/dev\/}" |
|
|
|
|
|
messagebox -h $"[ Harddrive partitioning ]" \ |
|
|
$"\Z1Warning!\Zn\n\nAll data on disk [ \Z3${HDD}\Zn ] will be erased!" |
|
|
} |
|
|
|
|
113 |
dialog_setup_system_menu() |
dialog_setup_system_menu() |
114 |
{ |
{ |
115 |
local mode |
local mode |
166 |
zotac*) message+=$"\n\Z2Zotac device detected.\Zn" ;; |
zotac*) message+=$"\n\Z2Zotac device detected.\Zn" ;; |
167 |
rangee) message+=$"\n\Z2Rangee device detected.\Zn" ;; |
rangee) message+=$"\n\Z2Rangee device detected.\Zn" ;; |
168 |
maxdata) message+=$"\n\Z2Maxdata device detected.\Zn" ;; |
maxdata) message+=$"\n\Z2Maxdata device detected.\Zn" ;; |
169 |
*) message+=$"\n \\ZnCommon device detected.\Zn" ;; |
*) message+=$"\n\ZnCommon device detected.\Zn" ;; |
170 |
esac |
esac |
171 |
if [[ ${FORMFACTOR} = laptop ]] |
if [[ ${FORMFACTOR} = laptop ]] |
172 |
then |
then |
173 |
message+=$"\n\ZnFormfactor Laptop, activating 'ondemand' powersaving mode.\Zn" |
message+=$"\n\ZnFormfactor Laptop, activating 'ondemand' powersaving mode.\Zn" |
174 |
fi |
fi |
175 |
|
|
176 |
messagebox -y 15 -h $"Detected hardware:" "${message}" |
messagebox -y 12 -h $"Detected hardware:" "${message}" |
177 |
} |
} |
178 |
|
|
179 |
dialog_setup_hdd_partitions_manual() |
dialog_setup_hdd_partitions_manual() |
239 |
|
|
240 |
while [[ ${method} -le 2 ]] |
while [[ ${method} -le 2 ]] |
241 |
do |
do |
242 |
method=$(menubox $"Configuration:" \ |
method=$(CANCEL_LABEL=$"Exit" menubox $"Configuration:" \ |
243 |
$"1:Install system" \ |
$"1:Install system" \ |
244 |
$"2:Show detected harddrives" \ |
$"2:Show detected harddrives" \ |
245 |
$"3:Exit and reboot" \ |
$"3:Exit and reboot" \ |