]> arthur.barton.de Git - netatalk.git/blob - distrib/initscripts/rc.afpd.netbsd.tmpl
Naming issues. From HAT.
[netatalk.git] / distrib / initscripts / rc.afpd.netbsd.tmpl
1 #!/bin/sh
2 #
3 # PROVIDE: afpd
4 # REQUIRE: cnid_metad
5 # KEYWORD: shutdown
6 #
7 # Apple Filing Protocol daemon.
8 # If you use AppleTalk, Make sure not to start atalkd in the background:
9 # its data structures must have time to stablize before running the
10 # other processes.
11 #
12
13 . /etc/rc.subr
14
15 name="afpd"
16 rcvar=$name
17 command=":SBINDIR:/afpd"
18 etcdir=":ETCDIR:"
19 pidfile="/var/run/${name}.pid"
20 required_files="$etcdir/afpd.conf $etcdir/AppleVolumes.default $etcdir/AppleVolumes.system"
21
22 load_rc_config $name
23 run_rc_command "$1"
24