Add boot property of operating system info (#46)

This commit is contained in:
Franck Nijhof 2021-01-14 03:40:51 +01:00 committed by GitHub
parent 1b599d32f7
commit b5a32fe006
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,3 +115,11 @@ function bashio::os.board() {
bashio::log.trace "${FUNCNAME[0]}" bashio::log.trace "${FUNCNAME[0]}"
bashio::os 'os.info.board' '.board' bashio::os 'os.info.board' '.board'
} }
# ------------------------------------------------------------------------------
# Returns the active boot.
# ------------------------------------------------------------------------------
function bashio::os.boot() {
bashio::log.trace "${FUNCNAME[0]}"
bashio::os 'os.info.boot' '.boot'
}