--- trunk/installer-simple/bin/installer.sh.in 2014/01/03 14:00:30 2333 +++ trunk/installer-simple/bin/installer.sh.in 2014/01/03 14:07:34 2335 @@ -9,16 +9,24 @@ INSTALLER_LIBDIR="%LIBDIR%" -source %SYSCONFDIR%/installer.conf +# configuration +if [ -e %SYSCONFDIR%/installer.conf ] +then + source %SYSCONFDIR%/installer.conf +else + die "/etc/installer.conf not found" +fi #images: (get ${CDIMAGENAME}) -source /mnt/cdrom/system/images.conf +if [ -e /mnt/cdrom/system/images.conf ] +then + source /mnt/cdrom/system/images.conf +else + die "/mnt/cdrom/system/images.conf not found" +fi -#Includes -source ${INSTALLER_LIBDIR}/functions/findhdd.sh > /dev/null -### bugfix ############################### -cdromdev="$(echo ${cdromdev} | sed 's/ //')" -######################################## +# includes +source ${INSTALLER_LIBDIR}/functions/hwdetection.sh ### System/Config Version VERSION="%VERSIONTAG%"