privacy/android/captiveportal.sh

9 lines
520 B
Bash
Raw Normal View History

#!/usr/bin/env sh
#
# For more information see https://www.kuketz-blog.de/empfehlungsecke/#captive-portal
adb shell 'settings put global captive_portal_http_url "http://captiveportal.myservermanager.com"'
adb shell 'settings put global captive_portal_https_url "https://captiveportal.myservermanager.com"'
adb shell 'settings put global captive_portal_fallback_url "http://captiveportal.myservermanager.com"'
adb shell 'settings put global captive_portal_other_fallback_urls "http://captiveportal.myservermanager.com"'