On Sat, 16 Jan 2016 14:31:20 +0100 kjo...@poczta.onet.pl (Kamil Jońca) wrote:
>There is laptop with "stretch/sid" on it. >I want umount all remote filesysems before suspending/hibernating it. >When google I found only solutions referring to pm-utils and >/etc/pm/sleep.d sripts. But this does not work for me. It looks like >pm-hibernate is not even calling. >So my question is: how can I put script to run before hibernate? Or what >should I read? >KJ > Since Stretch uses systemd, 'systemctl hibernate' will hibernate. You can write a simple script for systemd (man systemctl) to umount before hibernate, and mount after. -- Charlie Kravetz Linux Registered User Number 425914 [http://linuxcounter.net/user/425914.html] Never let anyone steal your DREAM. [http://keepingdreams.com]