Compare commits
No commits in common. "80ff5a19a6a64f4162d8b6aefd0f17f78de184a2" and "9c0304206fc307108e51bcd26e76da2d3c54ce06" have entirely different histories.
80ff5a19a6
...
9c0304206f
@ -239,16 +239,11 @@ start_spinner() {
|
|||||||
|
|
||||||
{
|
{
|
||||||
while [ "$SPINNER_ACTIVE" -eq 1 ]; do
|
while [ "$SPINNER_ACTIVE" -eq 1 ]; do
|
||||||
if [ -t 2 ]; then
|
printf "\r\e[2K%s %b" "${TAB}${spinner_frames[spin_i]}${TAB}" "${YW}${SPINNER_MSG}${CL}" >&2
|
||||||
printf "\r\e[2K%s %b" "${TAB}${spinner_frames[spin_i]}${TAB}" "${YW}${SPINNER_MSG}${CL}" >&2
|
|
||||||
else
|
|
||||||
printf "%s...\n" "$SPINNER_MSG" >&2
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
spin_i=$(((spin_i + 1) % ${#spinner_frames[@]}))
|
spin_i=$(((spin_i + 1) % ${#spinner_frames[@]}))
|
||||||
sleep "$interval"
|
sleep "$interval"
|
||||||
done
|
done
|
||||||
} &
|
} 2>/dev/null &
|
||||||
|
|
||||||
local pid=$!
|
local pid=$!
|
||||||
if kill -0 "$pid" 2>/dev/null; then
|
if kill -0 "$pid" 2>/dev/null; then
|
||||||
|
@ -86,7 +86,7 @@ setting_up_container() {
|
|||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
systemctl disable -q --now systemd-networkd-wait-online.service
|
systemctl disable -q --now systemd-networkd-wait-online.service
|
||||||
msg_ok "Set up Container OS"
|
msg_ok "Set up Container OS"
|
||||||
#msg_custom "${CM}" "${GN}" "Network Connected: ${BL}$(hostname -I)"
|
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
|
# This function checks the network connection by pinging a known IP address and prompts the user to continue if the internet is not connected
|
||||||
|
Loading…
x
Reference in New Issue
Block a user