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