summaryrefslogtreecommitdiffstats
path: root/man/rancid-cvs.1
blob: 2cb34bda533bef9cb5d284a99415622721fe69be (plain)
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
.\"
.hys 50
.TH "rancid-cvs" "1" "7 Jan 2004"
.SH NAME
rancid-cvs \- initialize CVS and rancid group files and directories
.SH SYNOPSIS
.B rancid-cvs
[group [group ...]]
.SH DESCRIPTION
.B rancid-cvs
is a
.IR sh (1)
script to create the directories,
.BR router.db (5),
and
.BR cvs (1)
directories necessary for a rancid group.
.\"
.PP
.B rancid-cvs
reads
.BR rancid.conf (5)
to configure itself.  Then proceeds with the initialization first of the
.BR cvs (1)
repository, if necessary, and then for each of the rancid groups listed on
the command-line or those in the variable
.I LIST_OF_GROUPS
from
.BR rancid.conf (5),
if the argument is omitted.
.\"
.PP
Running
.B rancid-cvs
for groups which already exist will not cause problems.  If the group's
directory already exists, the
.BR cvs (1)
import will be skipped, and if it's
.BR router.db (5)
already exists, it will be left as-is.
.\"
.PP
The best method for adding groups is add the group name to
.I LIST_OF_GROUPS
in
.BR rancid.conf (5),
then run
.B rancid-cvs.  Do not create the directories manually, allow rancid-cvs
to do it.
.\"
.SH "SEE ALSO"
.BR cvs (1),
.BR rancid.conf (5),
.BR router.db (5)