X-Git-Url: https://git.saurik.com/apple/configd.git/blobdiff_plain/4c5e92e2493bdfbbce40e998f3b607c72c47af2c..dbf6a266c384fc8b55e00a396eebe5cb62e21547:/Plugins/Kicker/enable-network diff --git a/Plugins/Kicker/enable-network b/Plugins/Kicker/enable-network new file mode 100755 index 0000000..b68cc8d --- /dev/null +++ b/Plugins/Kicker/enable-network @@ -0,0 +1,15 @@ +#!/bin/sh +# +# network configuration has changed +# +logger -i -p daemon.debug -t enable-network "process network configuration change" + +. /etc/rc.common +CheckForNetwork +if [ "${NETWORKUP}" = "-NO-" ]; then exit 0; fi + +/System/Library/StartupItems/NetworkTime/NetworkTime start +/System/Library/StartupItems/NIS/NIS start +/System/Library/StartupItems/NFS/NFS start + +exit 1