Created
June 3, 2018 03:13
-
-
Save tcdowney/1ae6fe69cc36ae8456b4e9d84d9a10dc to your computer and use it in GitHub Desktop.
Raspbian SD Longetivity Commands
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
# Inspired by https://raspberrypi.stackexchange.com/questions/169/how-can-i-extend-the-life-of-my-sd-card | |
# Gonna see if I can get by with just disabling swap for now | |
# Disable SWAP | |
sudo dphys-swapfile swapoff && \ | |
sudo dphys-swapfile uninstall && \ | |
sudo update-rc.d dphys-swapfile remove | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment