mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 20:11:24 +00:00
Add boot property of operating system info (#46)
This commit is contained in:
parent
1b599d32f7
commit
b5a32fe006
1 changed files with 8 additions and 0 deletions
|
@ -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'
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue