#!/bin/bash
dd if=/dev/zero of=/swapfile bs=1024 count=32768
mkswap /swapfile
swapon /swapfile
echo "Done."