Magellan Linux

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

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

revision 2322 by niro, Fri Jan 3 13:18:57 2014 UTC revision 2335 by niro, Fri Jan 3 14:07:34 2014 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/bash
2  # $Id$  # $Id$
3  #  #
4  # Simple Installation Script  # Simple Installation Script
# Line 7  Line 7 
7  # Niels Rogalla <niro@magellan-linux.de>  # Niels Rogalla <niro@magellan-linux.de>
8  #  #
9    
10    INSTALLER_LIBDIR="%LIBDIR%"
11    
12    # configuration
13    if [ -e %SYSCONFDIR%/installer.conf ]
14    then
15     source %SYSCONFDIR%/installer.conf
16    else
17     die "/etc/installer.conf not found"
18    fi
19    
20  #images: (get ${CDIMAGENAME})  #images: (get ${CDIMAGENAME})
21  source /mnt/cdrom/system/images.conf  if [ -e /mnt/cdrom/system/images.conf ]
22    then
23     source /mnt/cdrom/system/images.conf
24    else
25     die "/mnt/cdrom/system/images.conf not found"
26    fi
27    
28  #Includes  # includes
29  source /usr/lib/installer/functions/findhdd.sh > /dev/null  source ${INSTALLER_LIBDIR}/functions/hwdetection.sh
 ### bugfix ###############################  
 cdromdev="$(echo ${cdromdev} | sed 's/ //')"  
 ########################################  
30    
31  ### System/Config Version  ### System/Config Version
32  VERSION="%VERSIONTAG%"  VERSION="%VERSIONTAG%"
33  TITLE="Installer - ${VERSION}"  TITLE="${DEFAULT_TITLE} - ${VERSION}"
34    
35  CDPATH="/mnt/cdrom"  CDPATH="${DEFAULT_CDPATH}"
36  INSTALLPATH="/mnt/magellan"  INSTALLPATH="${DEFAULT_INSTALLPATH}"
37    
38  ### WICHTIG: anzahl lines in der autosta_lx.tar.gz -1  ### WICHTIG: anzahl lines in der autosta_lx.tar.gz -1
39  CURRENTLINE=0  CURRENTLINE=0
# Line 42  SPECIALDEVICE="" Line 54  SPECIALDEVICE=""
54  FORMFACTOR="desktop"  FORMFACTOR="desktop"
55    
56  # target filesystem  # target filesystem
57  FORMAT_FILESYSTEM="ext4"  FORMAT_FILESYSTEM="${DEFAULT_FILESYSTEM}"
58    
59  #################################################  #################################################
60  #  DIALOG BOXEN #  #  DIALOG BOXEN #

Legend:
Removed from v.2322  
changed lines
  Added in v.2335