-checkbootparam "noswap" && NOSWAP="yes"
-if checkbootparam "nofstab"; then
+if checkbootparam "noswap" -o checkbootparam "forensic" ; then
+ NOSWAP="yes"
+fi
+
+if checkbootparam "nofstab" -o checkbootparam "forensic" ; then
ewarn "Skipping /etc/fstab creation as requested on boot commandline." ; eend 0
else
checkbootparam "anyswap" && export ANYSWAP='yes' || export ANYSWAP=""
ewarn "Skipping /etc/fstab creation as requested on boot commandline." ; eend 0
else
checkbootparam "anyswap" && export ANYSWAP='yes' || export ANYSWAP=""
ewarn "Skipping running automount of device(s) labeled GRMLCFG as requested." ; eend 0
else
if [ -z "$INSTALLED" ] ; then
ewarn "Skipping running automount of device(s) labeled GRMLCFG as requested." ; eend 0
else
if [ -z "$INSTALLED" ] ; then
ewarn "Skipping search for SW-RAID as requested on boot commandline." ; eend 0
else
if ! [ -x /sbin/mdadm ] ; then
eerror "mdadm not available, can not execute it." ; eend 1
else
ewarn "Skipping search for SW-RAID as requested on boot commandline." ; eend 0
else
if ! [ -x /sbin/mdadm ] ; then
eerror "mdadm not available, can not execute it." ; eend 1
else