I haven't noticed anything wrong but I'm wondering if everything is correct: /lib/systemd/system-sleep/yavdr has been generated and it looks fine to me:
Code
case $1 in
pre)
[...]
echo "unload dvb drivers"
[...]
;;
post)
[...]
echo "restore dvb drivers"
[...]
but
- I see only the "pre/unload" message and not the "post/restore" one in sudo journalctl | grep 'dvb drivers'.
- similarly I see only the `rename /etc/avahi/services/xxx.service to /etc/avahi/services/xxx.disabled`, but not the other way around, and indeed ll /etc/avahi/services/*.* shows only "disabled" file
So that I have the strong impression that the script isn't called when waking up. Is this normal?
I have defined vdr_shutdown_command: "/usr/bin/systemctl hibernate" but according to systemd-suspend.service(8) it shouldn't make a difference.