mirror of https://github.com/tteck/Proxmox.git
alpine
This commit is contained in:
parent
8545c97649
commit
ed1f5e46e0
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue