Compare commits

..

No commits in common. "3d4a264a309c5ec4ddb34d7fd28bbef04727b1ca" and "607b27b38568f16fbc41890ba68f715d09accced" have entirely different histories.

3 changed files with 3 additions and 4 deletions

View File

@ -104,7 +104,7 @@ alias "se"='sudo -sE'
alias "sl"='sudo zsh -l' alias "sl"='sudo zsh -l'
alias "cps"='rsync -avh --info=progress2' alias "cps"='rsync -avh --info=progress2'
alias "mvs"='rsync -avh --info=progress2 --remove-source-files' alias "mvs"='rsync -avh --info=progress2 --remove-source-files'
if [[ $("$DOTFILES/tools/common.sh" get_os_type) == "linux" ]]; then alias "ping"='ping -n'; fi alias "ping"='ping -n'
alias "pbd"='ping baidu.com' alias "pbd"='ping baidu.com'
alias "p114"='ping 114.114.114.114' alias "p114"='ping 114.114.114.114'
alias "p666"='ping6 2001:da8::666' alias "p666"='ping6 2001:da8::666'

View File

@ -2,8 +2,8 @@
# remotes # remotes
j.remote() { j.remote() {
remote=ssh.beardic.cn remote=sir0.ibd.ink
RET_PORT=${RET_PORT:-24022} RET_PORT=${RET_PORT:-36122}
RET_USERNAME=${RET_USERNAME:-root} RET_USERNAME=${RET_USERNAME:-root}
RET_TRUST_SERVER=1 RET_TRUST_SERVER=1
} }

View File

@ -103,7 +103,6 @@ update_dns()
ip4="" ip4=""
elif [[ "$DFS_DDNS_IP4" == "auto" ]]; then elif [[ "$DFS_DDNS_IP4" == "auto" ]]; then
ip4="auto" ip4="auto"
api_url="https://api4.beardic.cn"
elif [[ "$DFS_DDNS_IP4" == "api" ]]; then elif [[ "$DFS_DDNS_IP4" == "api" ]]; then
ip4=$(curl $DFS_CURL_OPTIONS -sSL "https://api.ipify.org") ip4=$(curl $DFS_CURL_OPTIONS -sSL "https://api.ipify.org")
elif [[ "$DFS_DDNS_IP4" == "http"* ]]; then elif [[ "$DFS_DDNS_IP4" == "http"* ]]; then