summaryrefslogtreecommitdiff
path: root/net/netatalk/files/patch-config_netatalk.conf
blob: 4c007b859cf4ec2e78dd246fa39e6d8ad1f1c75a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- config/netatalk.conf.orig	2009-04-30 05:30:13.000000000 -0400
+++ config/netatalk.conf	2009-06-13 22:48:55.000000000 -0400
@@ -1,4 +1,5 @@
-# Appletalk configuration
+# netatalk configuration
+# For details see man netatalk.conf
 # Change this to increase the maximum number of clients that can connect:
 AFPD_MAX_CLIENTS=50
 
@@ -8,17 +9,8 @@ AFPD_MAX_CLIENTS=50
 # NOTE: If Netatalk should register AppleTalk services in the standard zone
 #       then you need not to specify a zone name here.
 #
-#       If your zone has spaces in it, you're better off specifying
-#       it in afpd.conf if you realize that your distribution doesn't
-#       handle spaces correctly in the startup script. Remember to use
-#       quotes here if the zone name contains spaces.
-#
 #ATALK_ZONE="@some zone"
-ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1`
-
-# specify the Mac and unix charsets to be used
-ATALK_MAC_CHARSET='MAC_ROMAN'
-ATALK_UNIX_CHARSET='LOCALE'
+ATALK_NAME=`/bin/hostname -s`
 
 # specify this if you don't want dhx and dhx2
 # available options: uams_guest.so, uams_clrtxt.so, 
@@ -28,18 +20,3 @@ ATALK_UNIX_CHARSET='LOCALE'
 
 # Change this to set the id of the guest user
 AFPD_GUEST=nobody
-
-# Set which daemons to run (papd is dependent upon atalkd):
-ATALKD_RUN=yes
-PAPD_RUN=no
-CNID_METAD_RUN=yes
-AFPD_RUN=yes
-TIMELORD_RUN=no
-A2BOOT_RUN=no
-
-# Control whether the daemons are started in the background
-ATALK_BGROUND=no
-
-# export the charsets, read form ENV by apps
-export ATALK_MAC_CHARSET
-export ATALK_UNIX_CHARSET