From owner-freebsd-ports Mon Feb 14 18:13:55 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mailserver.netexp.com (MAILOUT.NETEXP.COM [209.131.28.20]) by builder.freebsd.org (Postfix) with ESMTP id E20A23E5D for ; Mon, 14 Feb 2000 18:13:44 -0800 (PST) Received: from netexp.com ([209.69.216.11]) by mailserver.netexp.com (Post.Office MTA v3.5.3 release 223 ID# 0-65002U2000L200S0V35) with ESMTP id com for ; Mon, 14 Feb 2000 21:11:25 -0500 Message-ID: <38A8B5BA.B4FB5D1A@netexp.com> Date: Mon, 14 Feb 2000 21:11:06 -0500 From: bbommarito@netexp.com (Bommarito, Brian) X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Change to NetaTalk startup script Content-Type: multipart/mixed; boundary="------------50604964E16175BA3901B3CD" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------50604964E16175BA3901B3CD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I had to make a few changes to the Netatalk startup script to make it function properly. Now, this may be my system, and it may just be a bit weird, but also, to make it work when called from a command, I had to make the following changes to it. The file has been attached, and this is the one from the netatalk, not netatalk+asun. Just thought it might be of some use. --------------50604964E16175BA3901B3CD Content-Type: text/plain; charset=us-ascii; name="netatalk.sh.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="netatalk.sh.txt" #!/bin/sh # # AppleTalk daemons. Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. # PREFIX=/usr/local if [ "x${PREFIX}" = "x/" ]; then printf "\nnetatalk: Cannot determine PREFIX.\n" >&2 exit 64 fi HOSTNAME=`hostname|sed 's/\..*$//'` case $1 in start) echo -n ' netatalk' ${PREFIX}/libexec/atalkd ${PREFIX}/bin/nbprgstr -p 4 ${HOSTNAME}:Workstation & ${PREFIX}/bin/nbprgstr -p 4 ${HOSTNAME}:netatalk & ${PREFIX}/libexec/papd ${PREFIX}/libexec/afpd -s ${PREFIX}/etc/AppleVolumes.system \ -f ${PREFIX}/etc/AppleVolumes.default ;; stop) killall afpd killall papd killall atalkd ;; esac --------------50604964E16175BA3901B3CD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message