]> git.saurik.com Git - apple/launchd.git/blame - launchd/src/StartupItems/AppServices
launchd-106.20.tar.gz
[apple/launchd.git] / launchd / src / StartupItems / AppServices
CommitLineData
e91b9f68
A
1#!/bin/sh
2
3##
4# Application Services
5##
6
7. /etc/rc.common
8
9StartService ()
10{
11 # Launch Services
12 if [ -x /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Versions/Current/Support/lsregister ]; then
13 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Versions/Current/Support/lsregister -load
14 fi
15}
16
17StopService ()
18{
19 return 0
20}
21
22RestartService ()
23{
24 return 0
25}
26
27RunService "$1"