Add swapoff -a

This commit is contained in:
Suikan 2022-05-07 14:38:38 +09:00
parent eb6f0eef0f
commit 7d3abc56b0
2 changed files with 6 additions and 0 deletions

View file

@ -66,6 +66,9 @@ function main() {
# The script is parameterized by env-variable to fit to the distribution # The script is parameterized by env-variable to fit to the distribution
post_install post_install
# Free LUKS volume as swap volume.
swapoff -a
# Normal end # Normal end
return 0 return 0

View file

@ -81,6 +81,9 @@ function main() {
# The script is parameterized by env-variable to fit to the distribution # The script is parameterized by env-variable to fit to the distribution
post_install post_install
# Free LUKS volume as swap volume.
swapoff -a
# Normal end # Normal end
return 0 return 0