Splitting out swap handling and rewriting to a live-boot subscript.
[live-boot-grml.git] / scripts / boot.sh
index 6304c97..02ac43a 100755 (executable)
@@ -636,6 +636,12 @@ mountroot ()
        run_scripts /scripts/live-bottom
        log_end_msg
 
+       case "${LIVE_SWAPON}" in
+               true)
+                       Swapon
+                       ;;
+       esac
+
        if [ "${UNIONFS}" = unionfs-fuse ]
        then
                umount "${rootmnt}/dev"