[LON-CAPA-cvs] cvs: loncom /atalk config

harris41 lon-capa-cvs@mail.lon-capa.org
Sat, 27 Jul 2002 23:25:11 -0000


harris41		Sat Jul 27 19:25:11 2002 EDT

  Modified files:              
    /loncom/atalk	config 
  Log:
  improving documentation for atalk/config and also reading in values
  from access.conf instead of loncapa.conf
  
  
Index: loncom/atalk/config
diff -u loncom/atalk/config:1.2 loncom/atalk/config:1.3
--- loncom/atalk/config:1.2	Thu Nov  2 15:48:13 2000
+++ loncom/atalk/config	Sat Jul 27 19:25:10 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