PSI UPDATE
r1724 | ffr | 2007-03-27 07:56:13 +1000 (Tue, 27 Mar 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
cd0de991b4
commit
6921d0426c
29
nserver.c
29
nserver.c
@@ -132,6 +132,7 @@
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
self->dummyCon = SCCreateDummyConnection(self->pSics);
|
||||
|
||||
/*
|
||||
check for option RedirectFile and redirect stout/sterr to it
|
||||
@@ -216,10 +217,6 @@
|
||||
NetReadRegister(pReader, self->pServerPort, naccept, NULL);
|
||||
|
||||
/* the device executor */
|
||||
pCom = FindCommand(self->pSics,"stopexe");
|
||||
assert(pCom);
|
||||
assert(pCom->pData);
|
||||
self->pExecutor = (pExeList)pCom->pData;
|
||||
openDevexecLog();
|
||||
DevexecLog("START","SICS");
|
||||
|
||||
@@ -257,30 +254,6 @@
|
||||
EnvMonSignal,
|
||||
NULL,
|
||||
self->pMonitor,1);
|
||||
|
||||
|
||||
/* initialize the last saved status of the system */
|
||||
strcpy(pBueffel,"Restore ");
|
||||
pText = IFindOption(pSICSOptions,"statusfile");
|
||||
if(pText)
|
||||
{
|
||||
strcat(pBueffel,pText);
|
||||
}
|
||||
else
|
||||
{
|
||||
strcat(pBueffel,DEFAULTSTATUSFILE);
|
||||
IFAddOption(pSICSOptions,"statusfile",
|
||||
DEFAULTSTATUSFILE);
|
||||
}
|
||||
self->dummyCon = pCon = SCCreateDummyConnection(self->pSics);
|
||||
if(pCon)
|
||||
{
|
||||
InterpExecute(self->pSics,pCon,pBueffel);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("ERROR: Cannot allocate dummy connection, status NOT loaded");
|
||||
}
|
||||
|
||||
/* install performance monitor */
|
||||
pMon = CreatePerfMon(20);
|
||||
|
||||
Reference in New Issue
Block a user