This commit is contained in:
Michael Kroes 2016-03-14 15:43:50 +01:00
parent f8dd18fb08
commit a71679c66d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ if [ -z "$SWAP_MOUNTED" ]; then
if [ ! -e /swapfile ]; then if [ ! -e /swapfile ]; then
echo "Adding swap to the system..." echo "Adding swap to the system..."
# Allocate and active the swap file # Allocate and activate the swap file
fallocate -l 1G /swapfile fallocate -l 1G /swapfile
chmod 600 /swapfile chmod 600 /swapfile
hide_output mkswap /swapfile hide_output mkswap /swapfile