Pijus Kamandulis 9ba570b2cf
Create swap.sh
2019-06-08 13:49:09 +03:00

6 lines
90 B
Bash

#!/bin/sh
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile