mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Add Captive Portal URLs check in available OMR-ByPass services
This commit is contained in:
parent
416af94918
commit
02ba2a9e8b
1 changed files with 13 additions and 0 deletions
|
@ -153,6 +153,19 @@ if [ "$(uci -q get omr-bypass.sky)" = "" ]; then
|
|||
commit omr-bypass
|
||||
EOF
|
||||
fi
|
||||
if [ "$(uci -q get omr-bypass.captive_portal)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set omr-bypass.captive_portal=proto
|
||||
add_list omr-bypass.captive_portal.url='captive.apple.com'
|
||||
add_list omr-bypass.captive_portal.url='connectivitycheck.gstatic.com'
|
||||
add_list omr-bypass.captive_portal.url='clients3.google.com'
|
||||
add_list omr-bypass.captive_portal.url='www.msftconnecttest.com'
|
||||
add_list omr-bypass.captive_portal.url='www.msftncsi.com'
|
||||
add_list omr-bypass.captive_portal.url='nmcheck.gnome.org'
|
||||
add_list omr-bypass.captive_portal.url='networkcheck.kde.org'
|
||||
commit omr-bypass
|
||||
EOF
|
||||
fi
|
||||
#if [ "$(uci -q get omr-bypass.global)" = "" ]; then
|
||||
# uci -q batch <<-EOF >/dev/null
|
||||
# set omr-bypass.global=global
|
||||
|
|
Loading…
Reference in a new issue