.
This commit is contained in:
22
shared/_nmsg
22
shared/_nmsg
@ -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}
|
||||||
Reference in New Issue
Block a user