000kernel-change 284 B

123456789
  1. #!/bin/sh
  2. # Check for and abort a hibernate if the kernel indicates it has been
  3. # updated, as we will be completly unable to resume.
  4. if [ "$1" = "hibernate" ] && [ -f "/run/do-not-hibernate" ]; then
  5. echo "kernel update inhibits hibernate (/run/do-not-hibernate present)"
  6. exit 1
  7. fi