blob: 449bb774ceabd7f9fa9e8e45dc29927a58e90004 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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/afpd.init.3,v 1.1 2012/04/08 21:04:02 flameeyes Exp $
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
}
|