diff --git a/defaults.inc b/defaults.inc index edb3e267..520c67f6 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERS='4.10.10-07162023' +VERS='4.10.16-07162023' noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns ' CERT_DAEMON='/snap/bin/certbot' @@ -204,7 +204,7 @@ CERT-CHECK(){ } SENDNOTICE(){ - [ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2} + [ "${PUSHOVER_USER_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2} $(date)" "${1}" ${3} & diff --git a/install.sh b/install.sh index e8068f37..e498a970 100755 --- a/install.sh +++ b/install.sh @@ -4,9 +4,7 @@ source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)" source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)" - -echo -echo -e "${idsCL[LightGreen]}NodeMgmt Installation Script${idsCL[Default]}" +echo -e "\n${idsCL[LightGreen]}NodeMgmt Installation Script${idsCL[Default]}" $APTFUNC -y install wget curl git @@ -25,17 +23,12 @@ echo -e "NODE_HOSTNAME=\"$(hostname)\" #(optional) # EMAIL_NOTICE=email@address.com -# PUSHOVER_APP_TOKEN="" -# PUSHOVER_USER_TOKEN="" +# PUSHOVER_APP_TOKEN=\"a2tk778mwe9b3tks1u16juas4rztjr\" +# PUSHOVER_USER_TOKEN=\"\" " > /opt/idssys/nodemgmt/conf/settings.conf - -echo -echo -e "${idsCL[Yellow]}NodeMgmt has been Installed${idsCL[Default]}" -echo -echo -e "To run, use the command: ${idsCL[Green]}nodemgmt${idsCL[Default]}" -echo -echo +echo -e "\n${idsCL[Yellow]}NodeMgmt has been Installed${idsCL[Default]}\n" +echo -e "To run, use the command: ${idsCL[Green]}nodemgmt${idsCL[Default]}\n\n" exit 0 \ No newline at end of file