~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to distrib/initscripts/rc.afpd.netbsd.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Rittau
  • Date: 2004-01-19 12:43:49 UTC
  • Revision ID: james.westby@ubuntu.com-20040119124349-es563jbp0hk0ae51
Tags: upstream-1.6.4
ImportĀ upstreamĀ versionĀ 1.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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