From b85c46de4c7bf55405906c6dfa686117876180df Mon Sep 17 00:00:00 2001 From: endernon Date: Thu, 10 Oct 2024 00:14:56 +0100 Subject: [PATCH] added the script to run in android --- setandroid.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 setandroid.sh diff --git a/setandroid.sh b/setandroid.sh new file mode 100644 index 0000000..9fb90c2 --- /dev/null +++ b/setandroid.sh @@ -0,0 +1,18 @@ + +# captive portal has some potential values: +# 0 : Disables captive portal / don't attempt to detect captive portals. +# 1 : Default settings; displays a notification for sign-in prompt whenever captive portal is detected. +# 2 : Automatically disconnects from network & no longer auto-reconnect to it whenever captive portal is detected. +settings put global captive_portal_mode 1 + + +# http connectivity check +settings put global captive_portal_http_url http://204.frfrnocap.men +# https connectivity check +settings put global captive_portal_https_url https://204.frfrnocap.men + +# the grapheneos lead dev is a schizo without their meds but its fine to use their check as a fallback +# https fallback check +settings put global captive_portal_fallback_url https://connectivitycheck.grapheneos.network/generate_204 +# http fallback check +settings put global captive_portal_other_fallback_urls http://connectivitycheck.grapheneos.network/generate_204