]> git.saurik.com Git - apple/launchd.git/blob - launchd/src/StartupItems/IPServices
launchd-106.13.tar.gz
[apple/launchd.git] / launchd / src / StartupItems / IPServices
1 #!/bin/sh
2
3 ##
4 # IP Services
5 ##
6
7 . /etc/rc.common
8
9 StartService ()
10 {
11 if [ -a /etc/com.apple.named.conf.proxy ]
12 then
13 echo "Starting Internet address sharing"
14 /usr/libexec/InternetSharing
15 fi
16 }
17
18 StopService ()
19 {
20 return 0
21 }
22
23 RestartService ()
24 {
25 return 0
26 }
27
28 RunService "$1"