Browse Source

add function comments

afeiszli 2 years ago
parent
commit
763e4973a5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      scripts/nm-upgrade.sh

+ 3 - 0
scripts/nm-upgrade.sh

@@ -103,6 +103,7 @@ install_dependencies() {
   echo "-----------------------------------------------------"
   echo "-----------------------------------------------------"
 }
 }
 
 
+# get_email- gets upgrader's email address 
 get_email() {
 get_email() {
 
 
   unset GET_EMAIL
   unset GET_EMAIL
@@ -259,6 +260,7 @@ collect_node_settings() {
 
 
 }
 }
 
 
+# setup_caddy - updates Caddy with new info
 setup_caddy() {
 setup_caddy() {
 
 
   echo "backing up Caddyfile to /root/Caddyfile.backup"
   echo "backing up Caddyfile to /root/Caddyfile.backup"
@@ -281,6 +283,7 @@ EOT
 
 
 }
 }
 
 
+# set_mq_credentials - sets mq credentials
 set_mq_credentials() {
 set_mq_credentials() {
 
 
   unset GET_MQ_USERNAME
   unset GET_MQ_USERNAME