hacks/fix-raspian-defaults/root/boot/setup-scripts/99-disable-swap.sh

6 lines
112 B
Bash
Raw Normal View History

2019-10-04 12:26:33 +00:00
/sbin/dphys-swapfile swapoff
/sbin/dphys-swapfile uninstall
apt purge -y dphys-swapfile
swapoff -a
rm /var/swap