#! /bin/sh
#
-# Start/stop the Netatalk daemons.
+# Start/stop the Netatalk :NETATALK_VERSION: daemons.
#
-# Netatalk daemons.
# If you use AppleTalk, Make sure not to start atalkd in the background:
# its data structures must have time to stablize before running the
# other processes.
ATALK_ZONE=
ATALK_BGROUND=no
+# old netatalk.conf expected hostname in $HOSTNAME by default
+HOSTNAME=`hostname`
+
. :ETCDIR:/netatalk.conf