fix boot service with sleep for curl

This commit is contained in:
belgotux
2023-01-05 01:38:44 +01:00
parent 06e1b5362c
commit 993ddd94e1
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -45,11 +45,11 @@ text="$(date '+%d/%m/%y %H:%M:%S') $HOSTNAME booting\n Downtime $(date -d @$(( $
if [ -e $flagfile ] ; then
case "$notifynut_method" in
mail)
sendMail "$subjectMail" "$text" ;;
sendMail "$subjectMail" "$text" ;;
pushbullet)
sendPushBullet "$pushbulletSubject" "$text" ;;
sleep 30; sendPushBullet "$pushbulletSubject" "$text" ;;
telegram)
sendTelegram "$text" "$telegramSubject" ;;
sleep30; sendTelegram "$text" "$telegramSubject" ;;
esac
rm $flagfile
fi