]> git.saurik.com Git - apple/configd.git/blob - Plugins/Kicker/enable-network
configd-204.tar.gz
[apple/configd.git] / Plugins / Kicker / enable-network
1 #!/bin/sh
2 #
3 # network configuration has changed
4 #
5 logger -i -p daemon.debug -t enable-network "process network configuration change"
6
7 . /etc/rc.common
8 CheckForNetwork
9 if [ "${NETWORKUP}" = "-NO-" ]; then exit 0; fi
10
11 if [ -x /System/Library/StartupItems/NetworkTime/NetworkTime ]; then
12 /System/Library/StartupItems/NetworkTime/NetworkTime start
13 fi
14
15 if [ -x /System/Library/StartupItems/NIS/NIS ]; then
16 /System/Library/StartupItems/NIS/NIS start
17 fi
18
19 if [ -x /System/Library/StartupItems/NFS/NFS ]; then
20 /System/Library/StartupItems/NFS/NFS start
21 fi
22
23 exit 1