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