hacks/pisetup/root/boot/setup-scripts/99-disable-swap.sh

6 lines
112 B
Bash

/sbin/dphys-swapfile swapoff
/sbin/dphys-swapfile uninstall
apt purge -y dphys-swapfile
swapoff -a
rm /var/swap