17th January 2017, 22:41
Code:
touch .bash_aliases
echo "alias swoff='sudo swapoff -a ;sudo systemctl poweroff'" >.bash_aliases
. .bash_aliases
Next few times you want to poweroff put in terminal
Code:
sudo swapoff -a
then poweroff your normal way.
If that doesn't work, type in terminal "swoff" without quotes.