Use the created swap instantly

This commit is contained in:
Fierelier 2022-08-11 21:59:35 +02:00
parent 5706c192c9
commit 01324a1a86

View File

@ -70,6 +70,7 @@ while true; do
# Format partitions
echo "Formatting partitions ..."
mkswap "${DEVICE}1"
swapon "${DEVICE}1"
mkfs.ext4 "${DEVICE}2"
# Mount target partition