From a7e7b923bacabbe0d151fe0fce3de9258973172c Mon Sep 17 00:00:00 2001 From: HAT Date: Wed, 12 Jan 2011 01:19:35 +0900 Subject: [PATCH] Ubuntu's ATALK_NAME was empty (moved up from 2.2) --- NEWS | 1 + distrib/initscripts/rc.atalk.debian.tmpl | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 565c523d..e89f48f6 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ Changes in 2.1.6 * FIX: afpd: Fix for LDAP user cache corruption * FIX: gentoo: cannot set $CNID_CONFIG +* FIX: ubuntu: servername was empty Changes in 2.1.5 ================ diff --git a/distrib/initscripts/rc.atalk.debian.tmpl b/distrib/initscripts/rc.atalk.debian.tmpl index 7fce712f..b9654764 100644 --- a/distrib/initscripts/rc.atalk.debian.tmpl +++ b/distrib/initscripts/rc.atalk.debian.tmpl @@ -9,7 +9,6 @@ # # netatalk Netatalk 2.x initscript # Author: Thomas Kaiser -# Version: $Id: rc.atalk.debian.tmpl,v 1.6 2009-06-09 11:58:49 franklahm Exp $ set -e @@ -32,6 +31,10 @@ CNID_METAD_RUN=yes ATALK_MAC_CHARSET='MAC_ROMAN' ATALK_UNIX_CHARSET='LOCALE' +# /etc/default/netatalk expects hostname in $HOSTNAME by default +HOSTNAME=`/bin/hostname` +# next netatalk 2.2 will not expect $HOSTNAME. + # Read in netatalk configuration. if [ -f /etc/default/netatalk ]; then . /etc/default/netatalk -- 2.39.2