Making read-only function self contained.
[live-boot-grml.git] / scripts / boot / 9990-main.sh
index 3ad6a72..5be1277 100755 (executable)
@@ -28,11 +28,7 @@ Main ()
                        ;;
        esac
 
-       case "${LIVE_READ_ONLY}" in
-               true)
-                       Read_only
-                       ;;
-       esac
+       Read_only
 
        Select_eth_device
 
@@ -203,11 +199,7 @@ Main ()
        Fstab
        Netbase
 
-       case "${LIVE_SWAPON}" in
-               true)
-                       Swapon
-                       ;;
-       esac
+       Swap
 
        case "${UNIONFS}" in
                unionfs-fuse)