#!/bin/sh
#
+# Copyright 2000, International Business Machines Corporation and others.
+# All Rights Reserved.
+#
+# This software has been released under the terms of the IBM Public
+# License. For details, see the LICENSE file in the top-level source
+# directory or online at http://www.openafs.org/dl/license10.html
+#
# afs.rc: rc script for AFS on Solaris 2.x platforms
#
# Install this script as /etc/init.d/afs.rc
AFSDOPT=$CONFIG/afsd.options
PACKAGE=$CONFIG/package.options
+# EXTRAOPTS can be used to enable/disable AFSDB support (-afsdb)
+# and Dynroot (dynamically-generated /afs) support (-dynroot).
+EXTRAOPTS="-afsdb"
+
LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"
if [ -f $AFSDOPT ]; then
OPTIONS=`cat $AFSDOPT`
else
- OPTIONS=$MEDIUM
+ OPTIONS="$MEDIUM $EXTRAOPTS"
fi
# Need the commands ps, awk, kill, sleep