Adding upstream version 3.0~b1.
[live-boot-grml.git] / scripts / boot / 0120-read-only
index c05c162..859f771 100755 (executable)
@@ -18,10 +18,14 @@ Read_only ()
                esac
        done
 
-       if [ "${LIVE_READ_ONLY}" != "true" ]
-       then
-               return 0
-       fi
+       case "${LIVE_READ_ONLY}" in
+               true)
+                       ;;
+
+               *)
+                       return 0
+                       ;;
+       esac
 
        # Marking some block devices as read-only to ensure that nothing
        # gets written as linux still writes to 'only' read-only mounted filesystems.