This commit is contained in:
parent
1b215f1cc6
commit
e9a0c54922
|
@ -291,7 +291,7 @@ void mdCommander::driver() {
|
||||||
clear();
|
clear();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!strcmp(rawString,"tkvi")) { char *lastLog="./etc/donutsOTEConnectivity.log";
|
if (!strcmp(rawString,"tkvi")) { char *lastLog="./logs/lastLog";
|
||||||
sprintf(wwork,"vim %s",lastLog);
|
sprintf(wwork,"vim %s",lastLog);
|
||||||
system(wwork);
|
system(wwork);
|
||||||
clear();
|
clear();
|
||||||
|
@ -302,8 +302,9 @@ void mdCommander::driver() {
|
||||||
}
|
}
|
||||||
if (!strcmp(rawString,"quit")) { quit:
|
if (!strcmp(rawString,"quit")) { quit:
|
||||||
thisConfig->terminateRequest = true;
|
thisConfig->terminateRequest = true;
|
||||||
|
if (thisConfig->daemonProcess > 2) {
|
||||||
sprintf(work,"kill -9 %d",thisConfig->daemonProcess);
|
sprintf(work,"kill -9 %d",thisConfig->daemonProcess);
|
||||||
system(work);
|
system(work); }
|
||||||
shm.remove("ausreg-cd-global");
|
shm.remove("ausreg-cd-global");
|
||||||
sprintf(work,"rm /tmp/ausreg-cd.lock");
|
sprintf(work,"rm /tmp/ausreg-cd.lock");
|
||||||
system(work);
|
system(work);
|
||||||
|
@ -360,7 +361,7 @@ void mdCommander::help() {
|
||||||
mvprintw(16,10," loG - cd UI log");
|
mvprintw(16,10," loG - cd UI log");
|
||||||
mvprintw(17,10," log - cd daemon log*");
|
mvprintw(17,10," log - cd daemon log*");
|
||||||
mvprintw(18,10," mlog - master daemon log");
|
mvprintw(18,10," mlog - master daemon log");
|
||||||
mvprintw(19,10," tkvi - vim/xmledit last tk log (path hardcoded)");
|
mvprintw(19,10," tkvi - xmledit ./logs/lastLog (last toolkit log)");
|
||||||
mvprintw(20,10," done - terminate commander but not process");
|
mvprintw(20,10," done - terminate commander but not process");
|
||||||
mvprintw(21,10," q/quit - end process tree, delete log files");
|
mvprintw(21,10," q/quit - end process tree, delete log files");
|
||||||
mvprintw(23,5,"<n> is an integer, above active everywhere outside data entry (>>)");
|
mvprintw(23,5,"<n> is an integer, above active everywhere outside data entry (>>)");
|
||||||
|
|
Loading…
Reference in New Issue