rv: improved shutdown check

This commit is contained in:
trekhopton 2022-04-05 15:28:44 +09:30
parent 395d5a21f1
commit 85b760ba55
2 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,8 @@ func run(rv *revid.Revid, ns *netsender.Sender, l *logger.Logger, nl *netlogger.
if err != nil {
l.Log(logger.Error, "could not power off", "error", err)
}
} else if _, ok := vars["Off"]; !ok {
l.Log(logger.Info, "Off variable has not been found")
}
// Configure revid based on the vars.

0
init/pi_run.sh Normal file → Executable file
View File