pub fn swapon(device: &str) -> SshCommand
Turn on the swap device. Requires sudo permissions. Assumes the device is already formatted as a swap device (i.e. with mkswap).
sudo
mkswap