feat: os_about function

This commit is contained in:
Martin Wimpress 2024-04-16 13:45:10 +01:00
commit 0f04a90bdb
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,14 @@ function cleanup() {
fi
}
function os_about() {
local SIMPLE_NAME=""
local ABOUT=""
SIMPLE_NAME="${1}"
ABOUT=$(os_info "${SIMPLE_NAME}" | cut -d'|' -f5)
echo "${ABOUT}"
}
function os_credentials() {
local SIMPLE_NAME=""
local CREDE=""