]> git.saurik.com Git - apple/launchd.git/blame - launchd/src/StartupItems/AuthServer
launchd-106.20.tar.gz
[apple/launchd.git] / launchd / src / StartupItems / AuthServer
CommitLineData
e91b9f68
A
1#!/bin/sh
2
3##
4# Authentication Server
5##
6
7. /etc/rc.common
8
9StartService ()
10{
11 if [ "${AUTHSERVER:=-NO-}" = "-YES-" ]; then
12 echo "Starting Authentication Server"
13 tim
14 fi
15}
16
17StopService ()
18{
19 if [ "${AUTHSERVER:=-NO-}" = "-YES-" ]; then
20 echo "Stopping Authentication Server"
21 fi
22 killall -TERM tim > /dev/null 2>&1
23}
24
25RestartService ()
26{
27 StopService
28 StartService
29}
30
31RunService "$1"