]> arthur.barton.de Git - netatalk.git/blobdiff - distrib/initscripts/rc.afpd.netbsd.tmpl
update initscripts
[netatalk.git] / distrib / initscripts / rc.afpd.netbsd.tmpl
index 6242d88c868f1f835b9a01336ad7fccf47f54855..c9223ee1dae7b3425c82e24a22a0abd66a913d51 100644 (file)
@@ -4,10 +4,7 @@
 # REQUIRE: cnid_metad
 # KEYWORD: shutdown
 #
-# Apple Filing Protocol daemon. (netatalk :NETATALK_VERSION:)
-# If you use AppleTalk, Make sure not to start atalkd in the background:
-# its data structures must have time to stablize before running the
-# other processes.
+# AFP fileserver for Macintosh clients (netatalk :NETATALK_VERSION:)
 #
 
 . /etc/rc.subr
@@ -17,8 +14,8 @@ rcvar=$name
 command=":SBINDIR:/afpd"
 etcdir=":ETCDIR:"
 pidfile="/var/run/${name}.pid"
-required_files="$etcdir/afpd.conf $etcdir/AppleVolumes.default $etcdir/AppleVolumes.system"
+command_args="-P ${pidfile}"
+required_files="$etcdir/afp.conf
 
 load_rc_config $name
 run_rc_command "$1"
-