X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fboot.sh;fp=scripts%2Fboot.sh;h=eeaa4dce305271377742249cd1d0ac01df466bb1;hb=5d6acf56af17449a32a17194059d0ad437c5f988;hp=5a64d70bd4bed7bbb150fc2b573320803268c571;hpb=4af5ca4efc7f7f3c3457de9405f7a95d0cf4181a;p=live-boot-grml.git diff --git a/scripts/boot.sh b/scripts/boot.sh index 5a64d70..eeaa4dc 100755 --- a/scripts/boot.sh +++ b/scripts/boot.sh @@ -472,6 +472,14 @@ mountroot () Arguments + # make sure all harddisk devices are read-only + # this is important for forensic investigations + case "${READ_ONLY}" in + true) + Read_only + ;; + esac + maybe_break live-premount log_begin_msg "Running /scripts/live-premount" run_scripts /scripts/live-premount