Use the created swap instantly
This commit is contained in:
parent
5706c192c9
commit
01324a1a86
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user