--- loncom/atalk/config 2000/11/02 20:48:13 1.2 +++ loncom/atalk/config 2002/07/27 23:25:10 1.3 @@ -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