diff --git a/lib/info.sh b/lib/info.sh index f49ba96..809d28e 100644 --- a/lib/info.sh +++ b/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' +}