pc-sysinstall.conf revision 209513
1209513Simp#!/bin/sh 2209513Simp# $FreeBSD: head/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf 209513 2010-06-24 22:21:47Z imp $ 3209513Simp# Configuration options for pc-sysinstall 4209513Simp 5209513SimpTMPDIR="/tmp/.pc-sysinstall" 6209513Simpexport TMPDIR 7209513Simp 8209513Simpif [ ! -d "${TMPDIR}" ] 9209513Simpthen 10209513Simp mkdir -p ${TMPDIR} 11209513Simp chmod 777 ${TMPDIR} 12209513Simpfi 13209513Simp 14209513Simp# Set our temp directory for storing partition information 15209513SimpPARTDIR="${TMPDIR}/part-info" 16209513Simpexport PARTDIR 17209513Simp 18209513Simp# Set the SLICECFGDIR 19209513SimpSLICECFGDIR="${TMPDIR}/.slice-cfg" 20209513Simpexport SLICECFGDIR 21209513Simp 22209513Simp# Set the MIRRORCFGDIR 23209513SimpMIRRORCFGDIR="${TMPDIR}/.mirror-cfg" 24209513Simpexport MIRRORCFGDIR 25209513Simp 26209513Simp# Set the GELIKEYDIR 27209513SimpGELIKEYDIR="${TMPDIR}/.geli-keys" 28209513Simpexport GELIKEYDIR 29209513Simp 30209513Simp# Set our log file 31209513SimpLOGOUT="${TMPDIR}/pc-sysinstall.log" 32209513Simpexport LOGOUT 33209513Simp 34209513Simp# Set the number of rsync tries 35209513SimpRSYNCTRIES="3" 36209513Simpexport RSYNCTRIES 37209513Simp 38209513Simp# Set our mount-points 39209513SimpCDMNT="/cdmnt-install" 40209513SimpFSMNT="/mnt" 41209513SimpUZIP_DIR="/usr" 42209513SimpBOOT_PART_MOUNT="/boot-mount" 43209513Simpexport FSMNT CDMNT UZIP_DIR BOOT_PART_MOUNT 44209513Simp 45209513Simp# Set the location of component files on DVD / usb / ftp 46209513Simp# Relative to CDMNT or the FTP root 47209513SimpCOMPFILEDIR="extras/" 48209513Simpexport COMPFILEDIR 49209513Simp 50209513Simp# Set the component temp directory, which is relative to FSMNT 51209513SimpCOMPTMPDIR="/usr/.componenttmp" 52209513Simpexport COMPTMPDIR 53209513Simp 54209513Simp# Variables to set the location of installation data 55209513SimpUZIP_FILE="PCBSD.ufs.uzip" 56209513SimpTAR_FILE="PCBSD.tbz" 57209513Simpexport UZIP_FILE TAR_FILE 58209513Simp 59209513Simp# Locations of FreeBSD only install files 60209513SimpFBSD_UZIP_FILE="fbsd-release.ufs.uzip" 61209513SimpFBSD_TAR_FILE="fbsd-release.tbz" 62209513SimpFBSD_BRANCH_DIR="8.0-CURRENT" 63209513Simpexport FBSD_UZIP_FILE FBSD_TAR_FILE FBSD_BRANCH_DIR 64209513Simp 65209513Simp# Our internet mirror listing file location 66209513SimpNETSERVER="http://updates.pcbsd.org" 67209513SimpARCH="`uname -m`" 68209513Simp 69209513Simp# Check if we are running on a PC-BSD Disk 70209513Simpif [ -e "/PCBSDVERSION" ] ; then 71209513Simp VERSION="`cat /PCBSDVERSION`" 72209513Simpelse 73209513Simp VERSION="UNKNOWN" 74209513Simpfi 75209513Simp 76209513SimpMIRRORLIST="${NETSERVER}/mirrors-netinstall.php?ver=${VERSION}&arch=${ARCH}" 77