Skip to content

Commit

Permalink
Merge branches 'main' and 'main' of github.com:Aurora-Nasa-1/ARMIAS
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurora-Nasa-1 committed Dec 27, 2024
2 parents b9f1a54 + 9071f56 commit f8542de
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,15 @@ check_network() {
local github_status=$?
ping -c 1 google.com >/dev/null 2>&1
local google_status=$?

if [ $baidu_status -eq 0 ]; then
Aurora_ui_print "$INTERNET_CONNET (Baidu.com)"
Internet_CONN=1
elif [ $google_status -eq 0 ]; then
if [ $google_status -eq 0 ]; then
Aurora_ui_print "$INTERNET_CONNET (Google)"
Internet_CONN=2
Internet_CONN=3
elif [ $github_status -eq 0 ]; then
Aurora_ui_print "$INTERNET_CONNET (GitHub)"
Internet_CONN=3
Internet_CONN=2
elif [ $baidu_status -eq 0 ]; then
Aurora_ui_print "$INTERNET_CONNET (Baidu.com)"
Internet_CONN=1
else
Internet_CONN=
fi
Expand Down

0 comments on commit f8542de

Please sign in to comment.