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