msg_custom

This commit is contained in:
CanbiZ 2025-05-15 09:49:18 +02:00
parent 860f4f3871
commit 19da53f77d
2 changed files with 2 additions and 4 deletions

View File

@ -320,8 +320,6 @@ msg_custom() {
local color="$2"
local msg="$3"
[ -z "$msg" ] && return
stop_spinner
printf "\r\e[2K%s %b\n" "$symbol" "${color}${msg}${CL}" >&2
}

View File

@ -85,8 +85,8 @@ setting_up_container() {
fi
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
systemctl disable -q --now systemd-networkd-wait-online.service
msg_ok "Set up Container OS\n Network Connected: ${BL}$(hostname -I)"
#msg_ok "Network Connected: ${BL}$(hostname -I)"
msg_ok "Set up Container OS"
msg_custom "${CM}" "${GN}" "Network Connected: ${BL}$(hostname -I)"
}
# This function checks the network connection by pinging a known IP address and prompts the user to continue if the internet is not connected