]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / usr.sbin / pc-sysinstall / conf / pc-sysinstall.conf
1 #!/bin/sh
2 # $FreeBSD$
3 # Configuration options for pc-sysinstall
4
5 TMPDIR="/tmp/.pc-sysinstall"
6 export TMPDIR
7
8 if [ ! -d "${TMPDIR}" ]
9 then
10   mkdir -p ${TMPDIR}
11   chmod 777 ${TMPDIR}
12 fi
13
14 # Set our temp directory for storing partition information
15 PARTDIR="${TMPDIR}/part-info"
16 export PARTDIR
17
18 # Set the SLICECFGDIR
19 SLICECFGDIR="${TMPDIR}/.slice-cfg"
20 export SLICECFGDIR
21
22 # Set the MIRRORCFGDIR
23 MIRRORCFGDIR="${TMPDIR}/.mirror-cfg"
24 export MIRRORCFGDIR
25
26 # Set the GELIKEYDIR
27 GELIKEYDIR="${TMPDIR}/.geli-keys"
28 export GELIKEYDIR
29
30 # Set our log file
31 LOGOUT="${TMPDIR}/pc-sysinstall.log"
32 export LOGOUT
33
34 # Set the number of rsync tries
35 RSYNCTRIES="3"
36 export RSYNCTRIES
37
38 # Set our mount-points
39 CDMNT=${CDMNT-/cdmnt-install}
40 FSMNT=${FSMNT-/mnt}
41 UZIP_DIR="/usr"
42 BOOT_PART_MOUNT="/boot-mount"
43 export 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
47 COMPFILEDIR="extras/"
48 export COMPFILEDIR
49
50 # Set the component temp directory, which is relative to FSMNT
51 COMPTMPDIR="/usr/.componenttmp"
52 export COMPTMPDIR
53
54 # set the package temp directory, which is relative to FSMNT
55 PKGTMPDIR="/usr/.pkgtmp"
56 export PKGTMPDIR
57
58 # Variables to set the location of installation data
59 UZIP_FILE="PCBSD.ufs.uzip"
60 TAR_FILE="PCBSD.tbz"
61 export UZIP_FILE TAR_FILE
62
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}"
68 FBSD_ARCH=`uname -m`
69 export FBSD_UZIP_FILE FBSD_TAR_FILE FBSD_BRANCH FBSD_BRANCH_DIR FBSD_ARCH
70
71 # Location of image file
72 IMAGE_FILE="/home/john/tmp/PCBSD8.1-x86-USB.img"
73 export IMAGE_FILE
74
75 # Our internet mirror listing file location
76 NETSERVER="http://updates.pcbsd.org"
77 ARCH="`uname -m`"
78
79 # Check if we are running on a PC-BSD Disk
80 if [ -e "/PCBSDVERSION" ] ; then
81   VERSION="`cat /PCBSDVERSION`"
82 else
83   VERSION="UNKNOWN"
84 fi
85
86 MIRRORLIST="${NETSERVER}/mirrors-netinstall.php?ver=${VERSION}&arch=${ARCH}"