mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 20:11:24 +00:00
Add Docker & Operating System info properties (#42)
This commit is contained in:
parent
65e62b1fd5
commit
1662ddf17f
1 changed files with 16 additions and 0 deletions
16
lib/info.sh
16
lib/info.sh
|
@ -132,3 +132,19 @@ function bashio::info.supported() {
|
|||
bashio::log.trace "${FUNCNAME[0]}"
|
||||
bashio::info 'supervisor.info.supported' '.supported'
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Returns the Docker version running on the system.
|
||||
# ------------------------------------------------------------------------------
|
||||
function bashio::info.docker() {
|
||||
bashio::log.trace "${FUNCNAME[0]}"
|
||||
bashio::info 'supervisor.info.docker' '.docker'
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Returns the operating system running on the system.
|
||||
# ------------------------------------------------------------------------------
|
||||
function bashio::info.operating_system() {
|
||||
bashio::log.trace "${FUNCNAME[0]}"
|
||||
bashio::info 'supervisor.info.operating_system' '.operating_system'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue