#include <afs/procmgmt.h>
#include <afs/dirpath.h>
#include <afs/bnode.h>
-
+#include <afs/afsicf.h>
/* Define globals */
if ((bosCtlEvent[BOS_STOP_EVENT] = CreateEvent(NULL,
FALSE /* manual reset */,
FALSE /* initial state */,
- NULL)) == NULL) {
+ TEXT("BosCtlSvc Stop Event"))) == NULL) {
status = GetLastError();
}
if ((bosCtlEvent[BOS_EXIT_EVENT] = CreateEvent(NULL,
FALSE /* manual reset */,
FALSE /* initial state */,
- NULL)) == NULL) {
+ TEXT("BosCtlSvc Exit Event"))) == NULL) {
status = GetLastError();
}
return;
}
+ /* For XP SP2 and above, open required ports */
+ icf_CheckAndAddAFSPorts(AFS_PORTSET_SERVER);
+
/* Initialize the dirpath package so can access local bosserver binary */
if (!(initAFSDirPath() & AFSDIR_SERVER_PATHS_OK)) {
/* sw install directory probably not in registry; can not continue */
char **spawn_argv;
/* Display bosserver startup (legal) message; first start only */
- BosserverStartupMsgDisplay();
+ /* BosserverStartupMsgDisplay(); */
/* Set env variable forcing process mgmt lib to spawn processes detached */
(void)putenv(PMGT_SPAWN_DETACHED_ENV_NAME "=1");