pc-sysinstall.conf revision 209553
1#!/bin/sh 2# $FreeBSD: head/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf 209553 2010-06-27 17:04:03Z imp $ 3# Configuration options for pc-sysinstall 4 5TMPDIR="/tmp/.pc-sysinstall" 6export TMPDIR 7 8if [ ! -d "${TMPDIR}" ] 9then 10 mkdir -p ${TMPDIR} 11 chmod 777 ${TMPDIR} 12fi 13 14# Set our temp directory for storing partition information 15PARTDIR="${TMPDIR}/part-info" 16export PARTDIR 17 18# Set the SLICECFGDIR 19SLICECFGDIR="${TMPDIR}/.slice-cfg" 20export SLICECFGDIR 21 22# Set the MIRRORCFGDIR 23MIRRORCFGDIR="${TMPDIR}/.mirror-cfg" 24export MIRRORCFGDIR 25 26# Set the GELIKEYDIR 27GELIKEYDIR="${TMPDIR}/.geli-keys" 28export GELIKEYDIR 29 30# Set our log file 31LOGOUT="${TMPDIR}/pc-sysinstall.log" 32export LOGOUT 33 34# Set the number of rsync tries 35RSYNCTRIES="3" 36export RSYNCTRIES 37 38# Set our mount-points 39CDMNT="/cdmnt-install" 40FSMNT="/mnt" 41UZIP_DIR="/usr" 42BOOT_PART_MOUNT="/boot-mount" 43export FSMNT CDMNT UZIP_DIR BOOT_PART_MOUNT 44 45# Set the location of component files on DVD / usb / ftp 46# Relative to CDMNT or the FTP root 47COMPFILEDIR="extras/" 48export COMPFILEDIR 49 50# Set the component temp directory, which is relative to FSMNT 51COMPTMPDIR="/usr/.componenttmp" 52export COMPTMPDIR 53 54# Variables to set the location of installation data 55UZIP_FILE="PCBSD.ufs.uzip" 56TAR_FILE="PCBSD.tbz" 57export UZIP_FILE TAR_FILE 58 59# Locations of FreeBSD only install files 60FBSD_UZIP_FILE="fbsd-release.ufs.uzip" 61FBSD_TAR_FILE="fbsd-release.tbz" 62FBSD_BRANCH="8.0-RELEASE" 63FBSD_BRANCH_DIR="${FBSD_BRANCH}" 64FBSD_ARCH=`uname -m` 65export FBSD_UZIP_FILE FBSD_TAR_FILE FBSD_BRANCH FBSD_BRANCH_DIR FBSD_ARCH 66 67# Our internet mirror listing file location 68NETSERVER="http://updates.pcbsd.org" 69ARCH="`uname -m`" 70 71# Check if we are running on a PC-BSD Disk 72if [ -e "/PCBSDVERSION" ] ; then 73 VERSION="`cat /PCBSDVERSION`" 74else 75 VERSION="UNKNOWN" 76fi 77 78MIRRORLIST="${NETSERVER}/mirrors-netinstall.php?ver=${VERSION}&arch=${ARCH}" 79