Menu

[r5791]: / trunk / patches / ports-netatalk.patch  Maximize  Restore  History

Download this file

36 lines (33 with data), 1.2 kB

 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
Index: net/netatalk/files/netatalk.in
--- net/netatalk/files/netatalk.in.orig 2010-09-28 21:31:50.000000000 -0600
+++ net/netatalk/files/netatalk.in 2010-09-28 21:32:49.000000000 -0600
@@ -11,16 +11,6 @@
# other processes.
#
-# Set defaults. Please overide these in %%PREFIX%%/etc/netatalk.conf
-ATALK_ZONE=
-ATALK_NAME="`/bin/hostname -s`"
-AFPD_UAMLIST=
-AFPD_MAX_CLIENTS=50
-AFPD_GUEST=nobody
-
-# Load user config
-if [ -f %%PREFIX%%/etc/netatalk.conf ]; then . %%PREFIX%%/etc/netatalk.conf; fi
-
netatalk_enable=${netatalk_enable-"NO"}
atalkd_enable=${atalkd_enable-"NO"}
papd_enable=${papd_enable-"NO"}
@@ -46,13 +36,7 @@
checkyesno papd_enable && %%PREFIX%%/sbin/papd
checkyesno cnid_metad_enable && %%PREFIX%%/sbin/cnid_metad
checkyesno timelord_enable && %%PREFIX%%/sbin/timelord
- checkyesno afpd_enable && \
- %%PREFIX%%/sbin/afpd -n "${ATALK_NAME}${ATALK_ZONE}" \
- -s %%PREFIX%%/etc/AppleVolumes.system \
- -f %%PREFIX%%/etc/AppleVolumes.default \
- -g ${AFPD_GUEST} \
- -c ${AFPD_MAX_CLIENTS} \
- ${AFPD_UAMLIST}
+ checkyesno afpd_enable && %%PREFIX%%/sbin/afpd -F /etc/afpd.conf
}
netatalk_stop() {
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.