openafs-tools-cmd-20020115
[openafs.git] / src / tools / install / afsinit_both
1 #! /bin/sh
2 # Copyright 2000, International Business Machines Corporation and others.
3 # All Rights Reserved.
4
5 # This software has been released under the terms of the IBM Public
6 # License.  For details, see the LICENSE file in the top-level source
7 # directory or online at http://www.openafs.org/dl/license10.html
8
9 # Configuration information for AFS client
10
11 # AFS_CLIENT and AFS_SERVER determine if we should start the client and or
12 # the bosserver. Possible values are on and off.
13 AFS_CLIENT=on
14 AFS_SERVER=on
15
16 # AFS client configuration options:
17 LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
18 MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
19 SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"
20 OPTIONS=$MEDIUM
21
22 # Set to "-verbose" for a lot of debugging information from afsd. Only
23 # useful for debugging as it prints _a lot_ of information.
24 VERBOSE=
25
26 # AFSD_OPTIONS are the options passed to afsd.
27 AFSD_OPTIONS="$OPTIONS $VERBOSE"
28
29
30 # Sample server preferences function. Set server preferences using this.
31 # afs_serverprefs() {
32 #    /usr/afsws/etc/fs setserverprefs <host> <rank>
33 #}
34
35 # Either the name of an executable script or a set of commands go here.
36 # AFS_POST_INIT=afs_serverprefs
37 AFS_POST_INIT=