#!/bin/sh
#
# PROVIDE: netatalk
# KEYWORD: shutdown
#
# AFP fileserver for Macintosh clients (netatalk 4.4.1)

. /etc/rc.subr

name="netatalk"
rcvar=$name
command="/usr/pkg/sbin/netatalk"
etcdir="/usr/pkg/etc/netatalk"
pidfile="/var/run/${name}.pid"
required_files="$etcdir/afp.conf"

load_rc_config $name
run_rc_command "$1"
