Move os_about function where belong

This commit is contained in:
zen0bit 2024-04-16 18:16:22 +02:00 committed by Martin Wimpress
parent dd35355f70
commit 2b4c60fc1f
1 changed files with 8 additions and 7 deletions

View File

@ -27,13 +27,6 @@ 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=""
@ -150,6 +143,14 @@ function os_info() {
echo "${INFO}"
}
function os_about() {
local SIMPLE_NAME=""
local ABOUT=""
SIMPLE_NAME="${1}"
ABOUT=$(os_info "${SIMPLE_NAME}" | cut -d'|' -f5)
echo "${ABOUT}"
}
function os_basedof() {
local SIMPLE_NAME=""
local BASED=""