. /live.vars
- Arguments
+ _CMDLINE="$(cat /proc/cmdline)"
+ Cmdline
- # make sure all harddisk devices are read-only
- # this is important for forensic investigations
- case "${READ_ONLY}" in
+ case "${LIVE_DEBUG}" in
+ true)
+ set -x
+ ;;
+ esac
+
+ case "${LIVE_READ_ONLY}" in
true)
Read_only
;;
panic "Unable to find a medium containing a live file system"
fi
- if [ "${INTEGRITY_CHECK}" ]
- then
- integrity_check "${livefs_root}"
- fi
+ case "${LIVE_VERIFY_CHECKSUMS}" in
+ true)
+ Verify_checksums "${livefs_root}"
+ ;;
+ esac
if [ "${TORAM}" ]
then
log_end_msg
fi
+ if ! [ -d "/root/usr/share/live-boot" ]
+ then
+ panic "A wrong rootfs was mounted."
+ fi
+
maybe_break live-bottom
log_begin_msg "Running /scripts/live-bottom\n"
run_scripts /scripts/live-bottom
log_end_msg
+ case "${LIVE_SWAPON}" in
+ true)
+ Swapon
+ ;;
+ esac
+
if [ "${UNIONFS}" = unionfs-fuse ]
then
umount "${rootmnt}/dev"