Add os_homepage function

This commit is contained in:
zen0bit 2024-04-16 18:19:32 +02:00 committed by Martin Wimpress
parent 2a67445c65
commit 9b0e0a880b
1 changed files with 8 additions and 0 deletions

View File

@ -192,6 +192,14 @@ function os_credentials() {
echo "${CREDE}"
}
function os_homepage(){
local SIMPLE_NAME=""
local HOMEP=""
SIMPLE_NAME="${1}"
HOMEP=$(os_info "${SIMPLE_NAME}" | cut -d'|' -f4)
echo "$HOMEP"
}
function pretty_name() {
local SIMPLE_NAME=""
local PRETTY_NAME=""