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