000kernel-change hook does not block suspend_hybrid hybernations
Asked by
Jeff
Since suspend_hybrid is (or leads to) hibernation, maybe this hook should look out for it:
> cat /usr/lib/
#!/bin/sh
# Check for and abort a hibernate if the kernel indicates it has been
# updated, as we will be completly unable to resume.
if [ "$1" = "hibernate" ] && [ -f "/var/run/
echo "kernel update inhibits hibernate (/var/run/
exit 1
fi
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu pm-utils Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jeff for more information if necessary.
To post a message you must log in.