331 |
// If not in verbose mode redirect to /dev/null the stdout and stderr |
// If not in verbose mode redirect to /dev/null the stdout and stderr |
332 |
// |
// |
333 |
if ( !beverbose ){ |
if ( !beverbose ){ |
334 |
nul = open("/dev/null", O_CREAT | O_RDWR,S_IREAD | S_IWRITE); |
nul = open("/dev/null", O_CREAT | O_RDWR,S_IRUSR | S_IWUSR); |
335 |
dup2(nul,1); |
dup2(nul,1); |
336 |
dup2(nul,2); |
dup2(nul,2); |
337 |
}; |
}; |
391 |
if ( !dwinput ) dwinput = 1; |
if ( !dwinput ) dwinput = 1; |
392 |
staticp = true; |
staticp = true; |
393 |
autoboot = false; |
autoboot = false; |
394 |
|
pedantic = false; |
395 |
}; |
}; |
396 |
// |
// |
397 |
if ( filerawname == "" && filerootname != "" ){ |
if ( filerawname == "" && filerootname != "" ){ |
418 |
pamDB = new PamelaDBOperations(host,user,password,filerawname,filerootname,boot,tsync,obt0,debug,tlefilename,dwinput,staticp,gpamela,keepenv); |
pamDB = new PamelaDBOperations(host,user,password,filerawname,filerootname,boot,tsync,obt0,debug,tlefilename,dwinput,staticp,gpamela,keepenv); |
419 |
pamDB->CheckConnection(); |
pamDB->CheckConnection(); |
420 |
pamDB->LockTables(); |
pamDB->LockTables(); |
421 |
|
if ( !pamDB->IsChewbacca() ) pamDB->NotChewbacca(boot,tsync,obt0,gpamela); |
422 |
if ( filerootname != "" ) pamDB->OpenL0File(filerootname); |
if ( filerootname != "" ) pamDB->OpenL0File(filerootname); |
423 |
pamDB->SetTag(tag); |
pamDB->SetTag(tag); |
424 |
//------------------------------------------------------------------------------------------- |
//------------------------------------------------------------------------------------------- |