Add Power cycle reason

This commit is contained in:
prpr 2022-03-25 23:04:06 +00:00
parent e5a8f12a15
commit 51719420ba
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ lbr_descr()
1) echo "Front panel button" ;;
2) echo "Remote control handset" ;;
3) echo "Scheduled event" ;;
4) echo "Power cycle" ;;
*) echo "Unknown `cat /tmp/.lbr`" ;;
esac
else

View File

@ -72,6 +72,7 @@ proc {system lastbootreason} {{descr 1}} {{lbr -1}} {
1 { return "Front panel button" }
2 { return "Remote control handset" }
3 { return "Scheduled event" }
4 { return "Power cycle" }
}
return "Unknown ($lbr)"
}