Fix typo
This commit is contained in:
parent
f8dd18fb08
commit
a71679c66d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue