various improvements
- use dig for resolving host names - ascon.c: fix terminator parsing - property callback: change property before callback - logger.c:default for logger period must be the old value instead of 1 - add frappy type history writing - increase max. logreader line length - HIPNONE returns "null" with json protocol - encode strings properly in formatNameValue - fix memory leak in json2tcl - scriptcontext: do not show debug messages when script starts with underscore or when the "send" property is empty - scriptcontext: remove args for action timestamp - scriptcontext: "que" function will replace an already queued action, e.g. for 'halt - introduced updatestatus script
This commit is contained in:
@ -56,7 +56,7 @@ static int SCTDRIVHalt(void *data)
|
||||
|
||||
self = (pSctDrive) data;
|
||||
if (GetHdbProperty(self->node, "halt", dummy, sizeof dummy)) {
|
||||
SctQueueNode(self->c, self->node, HaltPRIO, "halt", NULL);
|
||||
SctQueueNode(self->c, self->node, HaltPRIO, "halt", 1, NULL);
|
||||
} else if (GetHdbProperty(self->node, "status", dummy, sizeof dummy)) {
|
||||
SetHdbProperty(self->node, "status", "idle");
|
||||
}
|
||||
|
Reference in New Issue
Block a user