projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Converting read-only initramfs-tools pre-mount script into regular live-boot script.
[live-boot-grml.git]
/
scripts
/
boot.sh
diff --git
a/scripts/boot.sh
b/scripts/boot.sh
index
5a64d70
..
eeaa4dc
100755
(executable)
--- a/
scripts/boot.sh
+++ b/
scripts/boot.sh
@@
-472,6
+472,14
@@
mountroot ()
Arguments
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
maybe_break live-premount
log_begin_msg "Running /scripts/live-premount"
run_scripts /scripts/live-premount