Answer by Raphial for Script not running on resume/wakeup in Ubuntu
Adding this answer for anyone who still needs a solution for newer versions. I see this has been viewed many times.I had to use a sleep/wake script to manually unmount/mount some network share folders...
View ArticleAnswer by EdiD for Script not running on resume/wakeup in Ubuntu
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/shcase $1/$2 in post/suspend) your_srcipt_here .... ;;esac
View ArticleScript not running on resume/wakeup in Ubuntu
I have a script named 999_thaw_flash.sh in my /etc/pm/sleep.dThe script follows like this :-export DISPLAY=:0#!/bin/bashcase "{$1}" in resume|thaw)lynx --dump link1 >> file1lynx --dump link2...
View Article
More Pages to Explore .....