Updating read-only handling to new parameter handling.
[live-boot-grml.git] / scripts / boot / arguments.sh
index f9e8d33..5f34512 100755 (executable)
@@ -7,16 +7,17 @@ Arguments ()
        for ARGUMENT in $(cat /proc/cmdline)
        do
                case "${ARGUMENT}" in
+                       live-boot.read-only|read-only)
+                               LIVE_READ_ONLY="true"
+                               export LIVE_READ_ONLY
+                               ;;
+
                        live-boot.verify-checksums|verify-checksums)
                                LIVE_VERIFY_CHECKSUMS="true"
                                export LIVE_VERIFY_CHECKSUMS
                                ;;
 
                        # parameters below need review
-                       read-only)
-                               READ_ONLY="true"
-                               ;;
-
                        skipconfig)
                                NOFASTBOOT="true"
                                NOFSTAB="true"