]> arthur.barton.de Git - netatalk.git/blob - distrib/initscripts/rc.netbsd.tmpl
Set Solaris SMF create_default_instance key to false
[netatalk.git] / distrib / initscripts / rc.netbsd.tmpl
1 #!/bin/sh
2 #
3 # PROVIDE: netatalk
4 # KEYWORD: shutdown
5 #
6 # AFP fileserver for Macintosh clients (netatalk :NETATALK_VERSION:)
7 #
8
9 . /etc/rc.subr
10
11 name="netatalk"
12 rcvar=$name
13 command=":SBINDIR:/netatalk"
14 etcdir=":ETCDIR:"
15 pidfile="/var/run/${name}.pid"
16 required_files="$etcdir/afp.conf
17
18 load_rc_config $name
19 run_rc_command "$1"