Skip to content

Commit

Permalink
Update kd-ddns.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
xb0or authored Oct 22, 2020
1 parent 8adea6a commit 1af33b6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kd-ddns.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/usr/bin/env bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH


kd-ddns(){
read -p "请输入主域名(eg:example.com) :" zhuyuming
read -p "请输入子域名(eg:123.example.com 只需填入123) :" ziyuming
read -p "请输入 cloudflare API :" youkey
Expand All @@ -21,4 +17,3 @@ kd-ddns(){
echo "请使用 crontab -e 添加计划任务"
echo "*/1 * * * * /usr/local/bin/cf-ddns.sh >/dev/null 2>&1"
echo
}

0 comments on commit 1af33b6

Please sign in to comment.