X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=distrib%2Finitscripts%2Frc.afpd.netbsd.tmpl;h=c9223ee1dae7b3425c82e24a22a0abd66a913d51;hb=b87219af268e0619fec6c0afc0a332fff7daeae6;hp=672c2ede2f5f1bc9ba44acf7378da2e7e9c5b6d6;hpb=c974b1b746e3766a373e33cba7222814375d1d96;p=netatalk.git diff --git a/distrib/initscripts/rc.afpd.netbsd.tmpl b/distrib/initscripts/rc.afpd.netbsd.tmpl index 672c2ede..c9223ee1 100644 --- a/distrib/initscripts/rc.afpd.netbsd.tmpl +++ b/distrib/initscripts/rc.afpd.netbsd.tmpl @@ -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 @@ -18,8 +15,7 @@ command=":SBINDIR:/afpd" etcdir=":ETCDIR:" pidfile="/var/run/${name}.pid" command_args="-P ${pidfile}" -required_files="$etcdir/afpd.conf $etcdir/AppleVolumes.default $etcdir/AppleVolumes.system" +required_files="$etcdir/afp.conf load_rc_config $name run_rc_command "$1" -