From 01324a1a8613e2cc3f541066ece1ae3d9dc5ae6a Mon Sep 17 00:00:00 2001 From: Fierelier Date: Thu, 11 Aug 2022 21:59:35 +0200 Subject: [PATCH] Use the created swap instantly --- mods/live-installer/data/bin/login | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/live-installer/data/bin/login b/mods/live-installer/data/bin/login index abbb0c2..4a5ffab 100755 --- a/mods/live-installer/data/bin/login +++ b/mods/live-installer/data/bin/login @@ -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