Browse Source

surport read key from env

pull/98/head
decker 9 years ago
parent
commit
49581f81b8
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      dns_scripts/dns_add_dnspod
  2. +2
    -2
      dns_scripts/dns_del_dnspod

+ 2
- 2
dns_scripts/dns_add_dnspod View File

@ -1,7 +1,7 @@
#!/bin/bash
# need to add your email address and key to cloudflare below
key=""
# need to add your email address and key to dnspod below
key=${DNSPOD_API_KEY:-}
fulldomain="$1"
token="$2"


+ 2
- 2
dns_scripts/dns_del_dnspod View File

@ -1,7 +1,7 @@
#!/bin/bash
# need to add your email address and key to cloudflare below
key=""
# need to add your email address and key to dnspod below
key=${DNSPOD_API_KEY:-}
fulldomain="$1"


Loading…
Cancel
Save