Update nodemgmt-scripts.sh

This commit is contained in:
2022-04-07 16:13:45 -05:00
parent a6a42f773e
commit ba0642b16e

View File

@@ -1776,10 +1776,12 @@ UPDATE_DYNDNS(){
/usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=snsinvest.com&myip=`dig +short myip.opendns.com @resolver1.opendns.com`" > /dev/null 2>&1
/usr/bin/curl -s "https://systems:Dcs9613@pdns.scity.us/nic/update?hostname=misfitsmc.com&myip=`dig +short myip.opendns.com @resolver1.opendns.com`" > /dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
echo ""
read -n 1 -s -p "Press any key to continue"
echo
if [ "${1}" != 'q' ]; then
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
echo ""
read -n 1 -s -p "Press any key to continue"
echo
fi
}
RUN_COMMAND(){
@@ -1867,7 +1869,7 @@ if [ ${action-x} ]; then
newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15};;
update) ;;
update-nodes) NODEUPDATE ${2};;
update-dyndns) UPDATE_DYNDNS;;
update-dyndns) UPDATE_DYNDNS ${2};;
backup) BACKUP;;
status)
if [ "${2}" = "report" ]; then