From 5ca6f3db9e853d84cd0c6b5229e219b7d7e38d55 Mon Sep 17 00:00:00 2001 From: Recolic Keghart <root@recolic.net> Date: Mon, 20 Jul 2020 01:28:57 +0800 Subject: [PATCH] recolic.org -> recolic.cc, change home http url --- datafile_gen_daemon_conf.py | 2 +- do.bash | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/datafile_gen_daemon_conf.py b/datafile_gen_daemon_conf.py index 84fef89..11042ca 100644 --- a/datafile_gen_daemon_conf.py +++ b/datafile_gen_daemon_conf.py @@ -21,7 +21,7 @@ tests = [ ('./do.bash rocket', 'Recolic Rocket Chat'), ('./do.bash dl', 'Download Site'), ('./do.bash shortlink', 'Short Link'), - ('./do.bash org-dns', 'recolic.org DNS'), + ('./do.bash cc-dns', 'recolic.cc DNS'), ('./do.bash home-http', 'Home HTTP, NFS, NAS, BaiduDownloader, etc'), ] diff --git a/do.bash b/do.bash index 5f15d46..6b69a80 100755 --- a/do.bash +++ b/do.bash @@ -1,6 +1,6 @@ #!/bin/bash -[[ $1 == '' ]] && echo -e 'Usage: '"$0 <operation> ...\n operation := rproxy | drive | v-tw | v-hk | frp-hk | ss-us1 | ss-us5 | ss-us6 | ovpn-tw | www | mail | tm | git | zhixiang | mc | push-httpdb-agent | ddns-wuhan | rocket | dl | shortlink | org-dns | home-http | all" && exit 1 +[[ $1 == '' ]] && echo -e 'Usage: '"$0 <operation> ...\n operation := rproxy | drive | v-tw | v-hk | frp-hk | ss-us1 | ss-us5 | ss-us6 | ovpn-tw | www | mail | tm | git | zhixiang | mc | push-httpdb-agent | ddns-wuhan | rocket | dl | shortlink | cc-dns | home-http | all" && exit 1 [[ $(id -u) = 0 ]] && ping_fld="-f" @@ -146,8 +146,8 @@ function do_test () { #ddns-us ) # test_tcp base.ddns2.recolic.net 22 | grep SSH && # test_tcp base.ddns2.recolic.net 80 && - # test_tcp nohsts.ddns2.recolic.org 22 | grep SSH && - # test_tcp nohsts.ddns2.recolic.org 80 || return $? + # test_tcp nohsts.ddns2.recolic.cc 22 | grep SSH && + # test_tcp nohsts.ddns2.recolic.cc 80 || return $? # ;; dl ) test_icmp dl.recolic.net && @@ -162,13 +162,13 @@ function do_test () { test_icmp rocket.recolic.net && curl -s https://rocket.recolic.net:444/api/info | grep 'success":true' || return $? ;; - org-dns ) - test_icmp www.recolic.org && - curl -s https://recolic.org/ || return $? + cc-dns ) + test_icmp www.recolic.cc && + curl -s https://recolic.cc/ || return $? ;; home-http ) # NO icmp required. - curl -s http://home.cnm.cool:81/ || return $? + curl -s http://home.recolic-backend.xyz:81/ || return $? ;; esac @@ -201,7 +201,7 @@ if [[ "$1" = all ]]; then do_test_twice rocket && do_test_twice shortlink && do_test_twice dl && - do_test_twice org-dns && + do_test_twice cc-dns && do_test_twice home-http exit $? fi -- GitLab