summaryrefslogtreecommitdiffstats
path: root/fedora-live-base.ks
diff options
context:
space:
mode:
Diffstat (limited to 'fedora-live-base.ks')
-rw-r--r--fedora-live-base.ks3
1 files changed, 3 insertions, 0 deletions
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 8e18f65..7a4eb05 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -122,6 +122,9 @@ if ! strstr "\`cat /proc/cmdline\`" noswap && [ -n "\$swaps" ] ; then
for s in \$swaps ; do
action "Enabling swap partition \$s" swapon \$s
done
+ if [ -f /mnt/live/LiveOS/swap.img ]; then
+ action "Enabling swap file" swapon /mnt/live/LiveOS/swap.img
+ fi
fi
mountPersistentHome() {