Created
July 9, 2016 11:15
-
-
Save anonymous/38098819090209c8c7b70f6101eb76e4 to your computer and use it in GitHub Desktop.
Temporary fix for shutdown hang issue related to swap.
This file contains hidden or 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
# If your computer doesn't turn off when you shut it down and the final message | |
# it gives is "Reached Target Shutdown", this is a temporary fix that may help. | |
# Bug in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917 | |
# | |
# This is confirmed to work on Linux Mint 18. | |
# | |
# Copy and paste these steps into your terminal: | |
sudo touch /etc/rc6.d/shutSwap | |
sudo echo "sudo swapoff -a" > /etc/rc6.d/shutSwap | |
sudo chmod +x /etc/rc6.d/shutSwap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment