#!/sbin/runscript # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/Attic/afpd.init.3,v 1.2 2015/03/31 11:06:48 jlec dead $ command="/usr/sbin/${SVCNAME}" command_args="${EXTRA_CONF}" pidfile="/var/run/${SVCNAME}.pid" depend() { need net cnid_metad use logger dns atalkd after entropy config /etc/netatalk/afpd.conf sed -e 's:#.*::' /etc/netatalk/afpd.conf | fgrep -q -e -ddp \ && need atalkd need avahi-daemon need slpd }