• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/distrib/initscripts/
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
15name="afpd"
16rcvar=$name
17command=":SBINDIR:/afpd"
18etcdir=":ETCDIR:"
19pidfile="/var/run/${name}.pid"
20required_files="$etcdir/afpd.conf $etcdir/AppleVolumes.default $etcdir/AppleVolumes.system"
21
22load_rc_config $name
23run_rc_command "$1"
24
25