X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F13swap;h=1975bd52f5349316b2562e42399243c53d1e29d0;hb=1736a26b70a1af93c290cfa9f4e7b593b7554d22;hp=303fbbb0190157df9bc6cad54a28c2d8e9a0e06c;hpb=8225101cbf7a069f0d4ff6d5fda4677051d8821a;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