[LON-CAPA-cvs] cvs: doc /build/confexamples config
harris41
lon-capa-cvs@mail.lon-capa.org
Sat, 27 Jul 2002 23:02:42 -0000
harris41 Sat Jul 27 19:02:42 2002 EDT
Modified files:
/doc/build/confexamples config
Log:
improving documentation; also automatically grabbing information from
loncapa.conf instead of access.conf
Index: doc/build/confexamples/config
diff -u doc/build/confexamples/config:1.1 doc/build/confexamples/config:1.2
--- doc/build/confexamples/config:1.1 Tue Nov 27 17:52:38 2001
+++ doc/build/confexamples/config Sat Jul 27 19:02:42 2002
@@ -1,11 +1,34 @@
+###############################################################################
+###############################################################################
+#
# Appletalk configuration
+#
+# Scott Harrison
+#
+# This is an example configuration file for Appletalk; it is distributed
+# with LON-CAPA. A typical location for this configuration file is:
+# /etc/atalk/config
+#
+# This is meant to configure netatalk software:
+# http://sourceforge.net/projects/netatalk
+#
+# This is supposed to allow old Mac/Apple systems to access a LON-CAPA
+# filesystem over the network via the AppleChooser tool.
+#
+###############################################################################
+###############################################################################
+
# Change this to increase the maximum number of clients that can connect:
AFPD_MAX_CLIENTS=5
+
# Change this to set the machine's atalk name:
# ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1`
-ATALK_NAME=`grep '^PerlSetVar.*lonHostID' /etc/httpd/conf/access.conf | perl -e '$_=<>; split(/\s+/); print "LONCAPA_$_[2]";'`
+
+ATALK_NAME=`grep '^PerlSetVar.*lonHostID' /etc/httpd/conf/loncapa.conf | perl -e '$_=<>; split(/\s+/); print "LONCAPA_$_[2]";'`
+
# Set which daemons to run:
PAPD_RUN=no
AFPD_RUN=yes
+
# Control whether the daemons are started in the background
ATALK_BGROUND=no