--- doc/build/confexamples/config 2001/11/27 22:52:38 1.1 +++ doc/build/confexamples/config 2003/02/03 18:03:51 1.3 @@ -1,11 +1,33 @@ +############################################################################### +############################################################################### +# # Appletalk configuration +# +# +# 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