Making swap function self contained.
[live-boot-grml.git] / scripts / boot / 9990-main.sh
index bd378eb..b1bdf42 100755 (executable)
@@ -20,6 +20,7 @@ Main ()
 
        _CMDLINE="$(cat /proc/cmdline)"
        Cmdline
+       Cmdline_old
 
        case "${LIVE_DEBUG}" in
                true)
@@ -202,11 +203,7 @@ Main ()
        Fstab
        Netbase
 
-       case "${LIVE_SWAPON}" in
-               true)
-                       Swapon
-                       ;;
-       esac
+       Swap
 
        case "${UNIONFS}" in
                unionfs-fuse)