forked from hummypkg/webif
Add Power cycle reason
This commit is contained in:
parent
ee4c121a54
commit
dc3c0fab6c
|
@ -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
|
||||
|
|
|
@ -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)"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue