1
0
Fork 0
dotfiles/.scripts/_flameboi/hdd/on_resume.sh

8 lines
237 B
Bash

#!/usr/bin/env bash
/usr/bin/updatedb &
sleep 600s
# don't use $HOME, root is running this
/home/pratham/.scripts/_flameboi/hdd/notify_user.sh "critical" "Check HDDs" "Check if the HDDs are in standby (resumed from suspend)" && exit 0