X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F13swap;h=1975bd52f5349316b2562e42399243c53d1e29d0;hb=56d7b4e9c17311dfa071a5ac5cc80a2f1ff8e79f;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