update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
VERS='5.1.40a-12272023'
|
||||
NM_BETA=true
|
||||
VERS='5.1.41-12272023'
|
||||
NM_BETA=false
|
||||
|
||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck '
|
||||
CERT_DAEMON='/snap/bin/certbot'
|
||||
|
||||
@@ -50,6 +50,14 @@ NEWCERT(){
|
||||
echo -e "${idsCL[LightYellow]}${idsST[Bold]}### REQUESTING CERT IN TEST MODE ###${idsST[Reset]}${idsCL[Default]}"
|
||||
echo
|
||||
fi
|
||||
|
||||
if [ "${NM_PDNS_USER}" != "" ] && [ "${NM_PDNS_PASS}" != "" ] && [ "${SOMETHING}" == "SOMETHING" ]; then
|
||||
echo -en "${idsCL[LightCyan]}Verifying WAN DNS record ... "
|
||||
/usr/bin/curl -s "https://${NM_PDNS_USER}:${NM_PDNS_PASS}@${NM_PDNS_WANDNS}/nic/update?hostname=${MAIN_CERT}&myip=${NEWIP}" > /dev/null 2>&1
|
||||
echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}"
|
||||
echo
|
||||
fi
|
||||
|
||||
echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}"
|
||||
echo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user