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