Update defaults.inc

This commit is contained in:
2024-12-21 10:33:11 -06:00
parent 2e7d241a4f
commit 443d58621f

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.8.16-12192024'
VERS='2.8.17a-12212024'
noheader=' update service dailytemp confsync -r -report test '
@@ -30,6 +30,7 @@ PW_LOGPOWER=${PW_LOGFOLDER}/log-power
M_SRVCOPT=(start stop restart reload enable disable)
source ${PW_FOLDER}/conf/settings.conf
[ -f ${NM_FOLDER}/conf/defaults.local.inc ] && source ${NM_FOLDER}/defaults.inc
IP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
@@ -106,7 +107,9 @@ SENDNOTICE(){
${SN_MSG}
$(date)" "${SN_TIT}" ${3} ${4} &
$(date)" "${SN_TIT}
${NM_HOSTNAMES[${IP}]}
" ${3} ${4} &
else
PUSH_TO_MOBILE "${SN_MSG}