Update init_root.sh
This commit is contained in:
parent
4f81bcbf6d
commit
e8c4a634a8
@ -21,12 +21,12 @@ check_google_access() {
|
||||
local response=$(curl -s -o /dev/null -w "%{http_code}" -m 5 "http://www.google.com")
|
||||
|
||||
if [ "$response" -eq 200 ]; then
|
||||
echo "Internet: abroad"
|
||||
abroad=1
|
||||
echo "Internet: abroad"
|
||||
github="https://github.com"
|
||||
else
|
||||
echo "Internet: internal"
|
||||
abroad=0
|
||||
echo "Internet: internal"
|
||||
github="https://g.nano.ac/https://github.com"
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user