readonly: do not check for "forensic" boot option
authorMichael Prokop <mika@grml.org>
Fri, 7 Sep 2012 11:21:08 +0000 (13:21 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 7 Sep 2012 11:21:10 +0000 (13:21 +0200)
We use the "readonly" boot option in the forensic boot menu entry,
so nothing will change from user's PoV.

The "forensic" string might match in a different context though
and the "readonly" boot option was removed by intention to not
block write access to the devices.

scripts/live-premount/readonly

index 71483bd..f1bd450 100755 (executable)
@@ -22,7 +22,7 @@ esac
 
 # make sure all harddisk devices are read-only
 # this is important for forensic investigations
-if grep -qe forensic -qe readonly /proc/cmdline
+if grep -qe readonly /proc/cmdline
 then
        for device in /dev/hd* /dev/sd* /dev/vd*
        do