This commit is contained in:
2022-06-25 22:05:16 +01:00
parent eb026a3606
commit b913b69acb

View File

@ -10,16 +10,16 @@
# BASE=/static # BASE=/static
# fi # fi
# if [ -f ${BASE}/shared/.telegramenv ] if [ -f ${BASE}/shared/.ntfyenv ]
# then then
# . ${BASE}/shared/.telegramenv . ${BASE}/shared/.ntfyenv
# else else
# echo "Created ${BASE}/shared/.telegramenv" echo "Created ${BASE}/shared/.ntfyenv"
# echo "Please update contents and rerun" echo "Please update contents and rerun"
# echo "DUFUS="" " > ${BASE}/shared/.telegramenv echo "DUFUS="" " > ${BASE}/shared/.ntfyenv
# echo "TCHATID="" " >> ${BASE}/shared/.telegramenv echo "TCHATID="" " >> ${BASE}/shared/.ntfyenv
# exit 1 exit 1
# fi fi
SCRIPT=$1 SCRIPT=$1
MSG=$2 MSG=$2
@ -35,4 +35,4 @@ SUBJECT=" ${MYNAME} - ${SCRIPT}: "
# rm -f ${MSG} # rm -f ${MSG}
curl -d "${SUBJECT} ${MSG}" ntfy.sh/nInfo curl -d "${SUBJECT} ${MSG}" ntfy.sh/${DUFUS}