Allow disabling SWAP

Signed-off-by: Thomas Lejeune <thomas.lejeune@moovweb.com>
pull/262/head
Thomas Lejeune 3 years ago committed by Petr Ospalý
parent 6c18bfb4b4
commit 439b4af8b9
No known key found for this signature in database
GPG Key ID: 96B7C54C30DA9F72

@ -30,6 +30,6 @@ activate_swaps_linux() {
done
}
if [ "$(uname -s)" = 'Linux' ]; then
if [ "$(uname -s)" = 'Linux' ] && [ "${DISABLE_SWAP}" != "true" ]; then
activate_swaps_linux
fi

Loading…
Cancel
Save