1 recipe shared
This is a combination of masterbee and simensen's swap recipes into one script. Basically the same thing as simensen's, but it provides a cleaner output and uses /var/swap.img instead of a file at ...
if [ -f /var/swap.img ]; then echo "/var/swap.img already exists. Nothing to do." exit 1 fi