forked from cbsd/cbsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcbsd.conf
93 lines (88 loc) · 2.44 KB
/
cbsd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
product="cbsd"
myversion="10.0.6b"
if [ -z "${workdir}" ]; then
echo "no workdir"
exit
fi
distdir="/usr/local/cbsd"
subr="${workdir}/nc.subr"
nodenamefile="${workdir}/nodename"
settingstui="${workdir}/settings-tui.subr"
dialog="${workdir}/dialog.subr"
tools="${workdir}/tools.subr"
mdtools="${workdir}/mdtools.subr"
zfstool="${workdir}/zfs.subr"
jfs="${workdir}/jfs.subr"
color="${workdir}/ansiicolor.subr"
nodes="${workdir}/nodes.subr"
jrcconf="${workdir}/rcconf.subr"
vimageconf="${workdir}/vnet.subr"
inventory="${workdir}/nc.inventory"
nodedescr="${workdir}/node.desc"
initenv="${workdir}/initenv.subr"
system="${workdir}/system.subr"
buildconf="${workdir}/build.subr"
distccacheconf="${workdir}/distccache.subr"
base2pkgconf="${workdir}/base2pkg.subr"
mailconf="${workdir}/mailtools.subr"
strings="${workdir}/strings.subr"
miscdir="${workdir}/misc"
jobdir="${workdir}/job"
srcdir="${workdir}/src"
tmpdir="${workdir}/tmp"
ftmpdir="${workdir}/ftmp"
importdir="${workdir}/import"
exportdir="${workdir}/export"
basejaildir="${workdir}/basejail"
basejailpref="base"
jaildatadir="${workdir}/jails-data"
jailfstabdir="${workdir}/jails-fstab"
jailrcconfdir="${workdir}/jails-rcconf"
jailfstabpref="fstab."
jaildir="${workdir}/jails"
jaildatapref="data"
jailsysdir="${workdir}/jails-system"
bindir="${workdir}/bin"
etcdir="${workdir}/etc"
jailctldir="${workdir}/jailctl"
nodectl="${workdir}/nodectl"
rcddir="${workdir}/rc.d"
sbindir="${workdir}/sbin"
systemdir="${workdir}/system"
moduledir="${workdir}/modules"
toolsdir="${workdir}/tools"
upgradedir="${workdir}/upgrade"
vardir="${workdir}/var"
spooldir="${vardir}/spool"
taskdir="${spooldir}/task"
rundir="${vardir}/run"
crondir="${vardir}/cron"
maildir="${vardir}/mail"
crontabsdir="${crondir}/tabs"
logdir="${vardir}/log"
sharedir="${workdir}/share"
dbdir="${vardir}/db"
gelidir="${dbdir}/geli"
localcbsdconffile="cbsd.conf"
localcbsdconf="${workdir}/${localcbsdconffile}"
sudoexecdir="${workdir}/sudoexec"
systemsudoexecdir="${distdir}/sudoexec"
cbsduser="cbsd"
production="0"
rsshdir="${workdir}/.rssh"
sshdir="${workdir}/.ssh"
templateldir="${workdir}/template"
fwcount_st="99"
fwcount_end="2000"
rsync_flags="arlHpEAXogt8 --delete"
greeting="node"
jailmapdb="${dbdir}/jmap.txt"
# external source for online doc
cbsddocsrc="http://www.bsdstore.ru/en/${myversion}"
[ -f "${nodenamefile}" ] && nodename=`cat ${nodenamefile}`
if [ -n "${NOCOLOR}" ]; then
ECHO="echo"
else
ECHO="echo -e"
[ -f "${color}" ] && . $color
fi