mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Add swapoff -a
This commit is contained in:
parent
eb6f0eef0f
commit
7d3abc56b0
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue