Skip to content
Permalink
Browse files

Improve connected display

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 2, 2019
1 parent 7eecb96 commit b739ce28ec2b33239dcc92874af0625d25070a63
Showing with 2 additions and 0 deletions.
  1. +2 −0 warninglight
@@ -280,6 +280,8 @@ function setstate($state) {
}
if ($currentstate != $previousstate || $currentissues != $previousissues) {
echo '[' . date('Y-m-d g:i:sa') . '] ' . $currentissueshead . $currentissues;
// clobber the currentstate file
file_put_contents('/var/log/nems/nems-tools/currentstate','[' . date('Y-m-d g:i:sa') . '] ' . $currentissueshead . $currentissues);
include('/root/nems/nems-tools/webhook');
}

0 comments on commit b739ce2

Please sign in to comment.
You can’t perform that action at this time.