Magellan Linux

Diff of /trunk/installer-simple/bin/installer.sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2424 by niro, Tue Jan 7 13:56:51 2014 UTC revision 2427 by niro, Tue Jan 7 14:09:01 2014 UTC
# Line 246  run_hardware_detection_disks() Line 246  run_hardware_detection_disks()
246   export ALL_CDROMS="$(get_hwinfo cdrom)"   export ALL_CDROMS="$(get_hwinfo cdrom)"
247  }  }
248    
 dialog_setup_hdd_create_partitions()  
 {  
  dialog \  
  --backtitle "${TITLE}" \  
  --infobox "Erstelle Disk Partitionen ..." 3 70  
 }  
   
 dialog_setup_hdd_format()  
 {  
  dialog \  
  --backtitle "${TITLE}" \  
  --infobox "Erstelle Datei-Systeme ..." 3 70  
 }  
   
 dialog_install_settings()  
 {  
  dialog \  
  --backtitle "${TITLE}" \  
  --infobox "Speichere System-Einstellungen ..." 3 70  
 }  
   
 dialog_install_system_image()  
 {  
  dialog \  
  --backtitle "${TITLE}" \  
  --gauge "Kopiere System-Image ..." 6 80  
 }  
   
249  install_meter()  install_meter()
250  {  {
251   while [[ ${CURRENTLINE} != ${TOTALLINES} ]]   while [[ ${CURRENTLINE} != ${TOTALLINES} ]]
# Line 287  install_meter() Line 259  install_meter()
259   return 0   return 0
260  }  }
261    
   
 dialog_install_bootsector()  
 {  
  dialog \  
  --backtitle "${TITLE}" \  
  --infobox "Schreibe den Bootsektor ..." 3 70  
 }  
   
 dialog_install_successful()  
 {  
  dialog \  
  --backtitle "${TITLE}" \  
  --colors \  
  --msgbox "Die Installation war \Z2erfolgreich\Zn." 5 81  
 }  
   
 dialog_install_failure()  
 {  
  dialog \  
  --backtitle "${TITLE}" \  
  --colors \  
  --msgbox "Die Installation ist \Z1Fehlgeschlagen\Zn.\n\n\  
  Fehler bei ${ERROR}, RetVal: ${RETVAL} \  
  " 10 81  
 }  
   
262  dialog_main()  dialog_main()
263  {  {
264   local method=0   local method=0
# Line 320  dialog_main() Line 266  dialog_main()
266    
267   while [[ ${method} -le 2 ]]   while [[ ${method} -le 2 ]]
268   do   do
269   method=$(dialog \   method=$(menubox $"Configuration:" \
270   --backtitle "${TITLE}" \   $"1:Install system" \
271   --no-cancel \   $"2:Show detected harddrives" \
272   --ok-label "Weiter" \   $"3:Exit and reboot" \
273   --stdout \   $"4:Exit and drop into a shell")
  --menu "Konfiguration" 14 70 5 \  
  "1" "AutoSta_LX installieren" \  
  "2" "Uebersicht gefundener Laufwerke" \  
  "3" "Beenden und neustarten" \  
  "4" "Beenden und eine Shell starten")  
274   retval=$?   retval=$?
275   [[ ${retval} -eq 1 ]] && exit 1   [[ ${retval} -eq 1 ]] && exit 1
276   if [[ ${retval} -eq 0 ]]   if [[ ${retval} -eq 0 ]]
# Line 774  run_install_normal() Line 715  run_install_normal()
715   dialog_install_settings   dialog_install_settings
716   sleep 1   sleep 1
717   install_system_settings   install_system_settings
718     dialog_install_initrd
719   install_initrd_chroot   install_initrd_chroot
720    
721   dialog_install_bootsector   dialog_install_bootsector
# Line 796  run_install_auto() Line 738  run_install_auto()
738   dialog_install_settings   dialog_install_settings
739   sleep 1   sleep 1
740   install_system_settings   install_system_settings
741     dialog_install_initrd
742   install_initrd_chroot   install_initrd_chroot
743    
744   dialog_install_bootsector   dialog_install_bootsector

Legend:
Removed from v.2424  
changed lines
  Added in v.2427