]> git.saurik.com Git - apple/launchd.git/blame - launchd/src/StartupItems/AppleShare
launchd-106.13.tar.gz
[apple/launchd.git] / launchd / src / StartupItems / AppleShare
CommitLineData
e91b9f68
A
1#!/bin/sh
2
3##
4# Apple File Protocol
5##
6
7. /etc/rc.common
8
9StartService ()
10{
11 if [ "${AFPSERVER:=-NO-}" = "-YES-" ]; then
12 echo "Starting Apple File Service"
13 /usr/sbin/AppleFileServer
14 fi
15}
16
17StopService ()
18{
19 return 0
20}
21
22RestartService ()
23{
24 return 0
25}
26
27RunService "$1"