3 # Configuration options for pc-sysinstall
5 TMPDIR="/tmp/.pc-sysinstall"
8 # Create a fresh TMPDIR
9 if [ -d "${TMPDIR}" -a "$TMPDIR" != '/' ]; then rm -rf ${TMPDIR}; fi
12 # Set our temp directory for storing partition information
13 PARTDIR="${TMPDIR}/part-info"
17 SLICECFGDIR="${TMPDIR}/.slice-cfg"
20 # Set the MIRRORCFGDIR
21 MIRRORCFGDIR="${TMPDIR}/.mirror-cfg"
25 GELIKEYDIR="${TMPDIR}/.geli-keys"
29 LOGOUT="${TMPDIR}/pc-sysinstall.log"
32 # Set the number of rsync tries
36 # Set our mount-points
37 CDMNT=${CDMNT-/cdmnt-install}
40 BOOT_PART_MOUNT="/boot-mount"
41 export FSMNT CDMNT UZIP_DIR BOOT_PART_MOUNT
43 # Set the location of component files on DVD / usb / ftp
44 # Relative to CDMNT or the FTP root
48 # Set the component temp directory, which is relative to FSMNT
49 COMPTMPDIR="/usr/.componenttmp"
52 # set the package temp directory, which is relative to FSMNT
53 PKGTMPDIR="/usr/.pkgtmp"
56 # Variables to set the location of installation data
57 UZIP_FILE="PCBSD.ufs.uzip"
59 export UZIP_FILE TAR_FILE
61 # Locations of FreeBSD only install files
62 FBSD_UZIP_FILE="fbsd-release.ufs.uzip"
63 FBSD_TAR_FILE="fbsd-release.tbz"
64 FBSD_BRANCH="8.0-RELEASE"
65 FBSD_BRANCH_DIR="${FBSD_BRANCH}"
67 export FBSD_UZIP_FILE FBSD_TAR_FILE FBSD_BRANCH FBSD_BRANCH_DIR FBSD_ARCH
69 # Location of image file
70 IMAGE_FILE="/home/john/tmp/PCBSD8.1-x86-USB.img"
73 # Our internet mirror listing file location
74 NETSERVER="http://updates.pcbsd.org"
77 # Check if we are running on a PC-BSD Disk
78 if [ -e "/PCBSDVERSION" ] ; then
79 VERSION="`cat /PCBSDVERSION`"
84 MIRRORLIST="${NETSERVER}/mirrors-netinstall.php?ver=${VERSION}&arch=${ARCH}"