ddns_curl_for_dnspod.md Warning! last edited by likuku on July 21, 2015 2:59 PM
#范例:
curl 指令,被 crontab 定时执行即可:
#!/usr/bin/env bash | |
# Warning! | |
# if you DIY a stage package like this, | |
# you must use the Stage3`s /etc/udev/* | |
# or rm /etc/udev/rules.d/70* | |
# Warning! | |
# Update by likuku on Nov29,2016 | |
readonly DATE=$(date +%Y_%m_%d_%H_%M_%S) | |
readonly ARCH=$(uname -m) |
# This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet. | |
# This file depends on the main.conf which defines your own proxy. | |
# Your main.conf will look like this: | |
# ---- START ---- | |
# #!PROXY-OVERRIDE:rules.conf | |
# [Proxy] | |
# Proxy = https,server.address,port,username,password | |
# ---- END ---- | |
# |