X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F13swap;h=1975bd52f5349316b2562e42399243c53d1e29d0;hb=938b9a368eb91a2dbfb5f5b4e75915378e99804d;hp=303fbbb0190157df9bc6cad54a28c2d8e9a0e06c;hpb=747c6ba5a62ab673f44508cef2ed180b6dc32937;p=live-boot-grml.git diff --git a/scripts/live-bottom/13swap b/scripts/live-bottom/13swap index 303fbbb..1975bd5 100755 --- a/scripts/live-bottom/13swap +++ b/scripts/live-bottom/13swap @@ -20,14 +20,14 @@ esac # live-initramfs header -if [ -n "${NOSWAP}" ] || [ -n "${NOFSTAB}" ] +if [ -z "${SWAPON}" ] || [ -n "${NOFSTAB}" ] then exit 0 fi . /scripts/live-functions -log_begin_msg "Setting up swap..." +log_begin_msg "Setting up swap" # live-initramfs script