Extended sleep duration from 30 seconds to 40 seconds for stability. Updated reboot command to use full paths (/usr/sbin/grub-reboot 2 and /usr/sbin/reboot) for clarity and reliability. Added a curl command to send a notification indicating booting into Windows. Changes: - Increased sleep duration from 30s to 40s. - Updated reboot command to use full paths. - Added curl command to notify reboot to Windows. Commit: 4c8d07e
12 lines
291 B
Bash
12 lines
291 B
Bash
#!/bin/bash
|
|
|
|
#sleep 30 sec
|
|
sleep 40s
|
|
|
|
# reboot to windows
|
|
echo "reboot"
|
|
/usr/sbin/grub-reboot 2
|
|
/usr/sbin/reboot
|
|
curl -H "Priority:High" -d "Es wird zu Windows gebootet" -u "Michaelis:u5ptufUFuDL6q4yEcSN3iqas5gtXNkN77Lx3cy3oX8UoSgFWdifYy9FVopv2Zwtu" https://ntfy.michaelis.digital/hashkali
|
|
|