X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F13swap;h=1975bd52f5349316b2562e42399243c53d1e29d0;hb=6d00906410acd695f73f30ae35a8e3c2492cae10;hp=ecbdce1093370b058e96d269ad917d41858065f3;hpb=046580edb4877fc1a4a823e882a0949fbc729544;p=live-boot-grml.git diff --git a/scripts/live-bottom/13swap b/scripts/live-bottom/13swap index ecbdce1..1975bd5 100755 --- a/scripts/live-bottom/13swap +++ b/scripts/live-bottom/13swap @@ -20,7 +20,7 @@ esac # live-initramfs header -if [ -n "${NOSWAP}" ] || [ -n "${NOFSTAB}" ] +if [ -z "${SWAPON}" ] || [ -n "${NOFSTAB}" ] then exit 0 fi