bryan 4 lat temu
rodzic
commit
b93f43f6fe
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      acme-cpanel.sh

+ 2 - 0
acme-cpanel.sh

@@ -90,6 +90,8 @@ get_acme() {
     curl https://get.acme.sh | sh
     source "$HOME/.bashrc"
     "$HOME/.acme.sh/acme.sh" --upgrade --auto-upgrade
+    [[ "$METHOD" == "dns" ]] && \
+        curl -o "$HOME/.acme.sh/dnsapi/dns_cpaneldns.sh" https://raw.githubusercontent.com/cryobry/dns_cpaneldns/master/dns_cpaneldns.sh
 }