Converting read-only initramfs-tools pre-mount script into regular live-boot script.
[live-boot-grml.git] / scripts / boot / arguments.sh
index 07c9d9a..c526b9a 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+#set -e
+
 Arguments ()
 {
        PRESEEDS=""
@@ -8,6 +10,10 @@ Arguments ()
        for ARGUMENT in $(cat /proc/cmdline)
        do
                case "${ARGUMENT}" in
+                       read-only)
+                               READ_ONLY="true"
+                               ;;
+
                        skipconfig)
                                NOACCESSIBILITY="Yes"
                                NOFASTBOOT="Yes"