]> arthur.barton.de Git - netatalk.git/blobdiff - distrib/initscripts/rc.atalk.sysv.tmpl
Merge master
[netatalk.git] / distrib / initscripts / rc.atalk.sysv.tmpl
index a4b9a69ef94cbcb3443e7a76a697f966b9cea2e3..ddad742d38bd9fbd79ba5e5a5b081d9035d58bea 100755 (executable)
@@ -1,8 +1,7 @@
 #! /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.
@@ -37,6 +36,9 @@ TIMELORD_RUN=no
 ATALK_ZONE=
 ATALK_BGROUND=no
 
+# old netatalk.conf expected hostname in $HOSTNAME by default
+HOSTNAME=`hostname`
+
 . :ETCDIR:/netatalk.conf