From 7d3abc56b03c23e682ccf40ccd07e32cc7dfae8f Mon Sep 17 00:00:00 2001 From: Suikan <26223147+suikan4github@users.noreply.github.com> Date: Sat, 7 May 2022 14:38:38 +0900 Subject: [PATCH] Add swapoff -a --- script/ubuntu-kaiten-yaki.sh | 3 +++ script/void-kaiten-yaki.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/script/ubuntu-kaiten-yaki.sh b/script/ubuntu-kaiten-yaki.sh index adfbbdd..7b932e3 100644 --- a/script/ubuntu-kaiten-yaki.sh +++ b/script/ubuntu-kaiten-yaki.sh @@ -66,6 +66,9 @@ function main() { # The script is parameterized by env-variable to fit to the distribution post_install + # Free LUKS volume as swap volume. + swapoff -a + # Normal end return 0 diff --git a/script/void-kaiten-yaki.sh b/script/void-kaiten-yaki.sh index c63f906..d31adcc 100644 --- a/script/void-kaiten-yaki.sh +++ b/script/void-kaiten-yaki.sh @@ -81,6 +81,9 @@ function main() { # The script is parameterized by env-variable to fit to the distribution post_install + # Free LUKS volume as swap volume. + swapoff -a + # Normal end return 0