]> git.saurik.com Git - apple/configd.git/blob - Plugins/Kicker/enable-network
configd-136.1.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 /System/Library/StartupItems/NetworkTime/NetworkTime start
12 /System/Library/StartupItems/NIS/NIS start
13 /System/Library/StartupItems/NFS/NFS start
14
15 exit 1