- Removed automatic loading of status file on startup
- make soft motor values the default all over - Introduced nxscript putSlab - Fixed a bug in polldriv
This commit is contained in:
25
nserver.c
25
nserver.c
@ -132,6 +132,7 @@
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
self->dummyCon = SCCreateDummyConnection(self->pSics);
|
||||
|
||||
/*
|
||||
check for option RedirectFile and redirect stout/sterr to it
|
||||
@ -257,30 +258,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