1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/net/netatalk3/files/netatalk.in
Joe Marcus Clarke a5330fedde Update to 3.0.1. See http://netatalk.sourceforge.net/3.0/ReleaseNotes3.0.1.html
for a list of changes in this release.
2012-09-29 05:18:56 +00:00

27 lines
381 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: netatalk
# REQUIRE: DAEMON %%ZEROCONF%%
# KEYWORD: shutdown
#
# AFP fileserver for Mac clients. Add the following to /etc/rc.conf to
# enable:
#
# netatalk_enable="YES"
#
netatalk_enable=${netatalk_enable-"NO"}
. /etc/rc.subr
name=netatalk
rcvar=netatalk_enable
load_rc_config ${name}
command=%%PREFIX%%/sbin/${name}
run_rc_command "$1"