summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-26 12:51:22 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:06 +0100
commitf47a93a78a4a7d45d3db17184d592895dd913a4d (patch)
tree7565420766c3247b1f30d232c5b3e50744f5ce52 /hooks
parentd2a27717cc6ba6688942fcbfbf49164f01253291 (diff)
downloadlive-boot-f47a93a78a4a7d45d3db17184d592895dd913a4d.tar.gz
live-boot-f47a93a78a4a7d45d3db17184d592895dd913a4d.zip
Adapting a patch from Michael Prokop <mika@grml.org> to set all harddisk devices to read-only mode for forensics investigations.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/live6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/live b/hooks/live
index a940846..aa7b020 100755
--- a/hooks/live
+++ b/hooks/live
@@ -174,6 +174,12 @@ then
copy_exec /usr/bin/wget /bin
fi
+# Program: blockdev
+if [ -x /sbin/blockdev ]
+then
+ copy_exec /sbin/blockdev /sbin
+fi
+
# FUSE kernel module
manual_add_modules fuse