Change wiki ref to wiki.openafs.org from stanford.edu
[openafs.git] / src / afsd / afs.rc.solaris.2.7
index 000b521..6cda6aa 100644 (file)
@@ -1,5 +1,12 @@
 #!/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
@@ -11,6 +18,10 @@ CONFIG=/usr/vice/etc/config
 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"
@@ -18,7 +29,7 @@ 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