Last active
August 29, 2015 14:20
-
-
Save perguth/cd83e1a70a3fb4c25f00 to your computer and use it in GitHub Desktop.
Fix freeze-after-suspend for a Samsung 730U. Src: http://askubuntu.com/a/387676/207593
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install | |
# ======= | |
# sudo gedit /etc/pm/sleep.d/01_switchvt | |
# paste this script | |
# sudo chmod 755 /etc/pm/sleep.d/01_switchvt | |
case "$1" in | |
resume|thaw) | |
chvt 7 | |
;; | |
suspend|hibernate) | |
chvt 1 | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment