3 # Configuration options for pc-sysinstall
5 TMPDIR="/tmp/.pc-sysinstall"
8 if [ ! -d "${TMPDIR}" ]
14 # Set our temp directory for storing partition information
15 PARTDIR="${TMPDIR}/part-info"
19 SLICECFGDIR="${TMPDIR}/.slice-cfg"
22 # Set the MIRRORCFGDIR
23 MIRRORCFGDIR="${TMPDIR}/.mirror-cfg"
27 GELIKEYDIR="${TMPDIR}/.geli-keys"
31 LOGOUT="${TMPDIR}/pc-sysinstall.log"
34 # Set the number of rsync tries
38 # Set our mount-points
39 CDMNT=${CDMNT-/cdmnt-install}
42 BOOT_PART_MOUNT="/boot-mount"
43 export FSMNT CDMNT UZIP_DIR BOOT_PART_MOUNT
45 # Set the location of component files on DVD / usb / ftp
46 # Relative to CDMNT or the FTP root
50 # Set the component temp directory, which is relative to FSMNT
51 COMPTMPDIR="/usr/.componenttmp"
54 # set the package temp directory, which is relative to FSMNT
55 PKGTMPDIR="/usr/.pkgtmp"
58 # Variables to set the location of installation data
59 UZIP_FILE="PCBSD.ufs.uzip"
61 export UZIP_FILE TAR_FILE
63 # Locations of FreeBSD only install files
64 FBSD_UZIP_FILE="fbsd-release.ufs.uzip"
65 FBSD_TAR_FILE="fbsd-release.tbz"
66 FBSD_BRANCH="8.0-RELEASE"
67 FBSD_BRANCH_DIR="${FBSD_BRANCH}"
69 export FBSD_UZIP_FILE FBSD_TAR_FILE FBSD_BRANCH FBSD_BRANCH_DIR FBSD_ARCH
71 # Location of image file
72 IMAGE_FILE="/home/john/tmp/PCBSD8.1-x86-USB.img"
75 # Our internet mirror listing file location
76 NETSERVER="http://updates.pcbsd.org"
79 # Check if we are running on a PC-BSD Disk
80 if [ -e "/PCBSDVERSION" ] ; then
81 VERSION="`cat /PCBSDVERSION`"
86 MIRRORLIST="${NETSERVER}/mirrors-netinstall.php?ver=${VERSION}&arch=${ARCH}"