mirror of
https://github.com/tteck/Proxmox.git
synced 2025-08-27 21:31:14 +00:00
@@ -86,7 +86,7 @@ network_check() {
|
||||
if ping -c 1 -W 1 1.1.1.1 &>/dev/null; then msg_ok "Internet Connected"; else
|
||||
msg_error "Internet NOT Connected"
|
||||
read -r -p "Would you like to continue anyway? <y/N> " prompt
|
||||
if echo "$prompt" | grep -Eq "^(y|yes)$"; then
|
||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
|
||||
else
|
||||
echo -e " 🖧 Check Network Settings"
|
||||
|
Reference in New Issue
Block a user