Since systemd the proper location for this is /lib/systemd/system-sleep. Make there a file eg. 999_thaw_flash and paste like this : #!/bin/sh case $1/$2 in post/suspend) your_srcipt_here .... ;; esac
hdparm
cat
journalctl -u systemd-suspend.service
wget