]> git.saurik.com Git - apple/configd.git/blobdiff - SystemConfiguration.fproj/reachability/server.c
configd-801.1.1.tar.gz
[apple/configd.git] / SystemConfiguration.fproj / reachability / server.c
diff --git a/SystemConfiguration.fproj/reachability/server.c b/SystemConfiguration.fproj/reachability/server.c
deleted file mode 100644 (file)
index 09e97c6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <CoreFoundation/CoreFoundation.h>
-#include <SystemConfiguration/SystemConfiguration.h>
-#include <SystemConfiguration/SCPrivate.h>
-
-#include "SCNetworkReachabilityInternal.h"
-
-int
-main(int argc, char **argv)
-{
-       _sc_log   = FALSE;      // no syslog
-       _sc_debug = TRUE;       // extra reachability logging
-
-       _SCNetworkReachabilityServer_start();
-
-       SCLog(TRUE, LOG_DEBUG, CFSTR("starting CFRunLoop"));
-       CFRunLoopRun();
-       SCLog(TRUE, LOG_DEBUG, CFSTR("CFRunLoop complete"));
-
-       exit(0);
-}