projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Releasing debian version 3.0~a30-1.
[live-boot-grml.git]
/
scripts
/
boot.sh
diff --git
a/scripts/boot.sh
b/scripts/boot.sh
index
2fe563e
..
736e587
100755
(executable)
--- a/
scripts/boot.sh
+++ b/
scripts/boot.sh
@@
-444,11
+444,16
@@
mountroot ()
. /live.vars
. /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
;;
true)
Read_only
;;
@@
-625,11
+630,20
@@
mountroot ()
log_end_msg
fi
log_end_msg
fi
- maybe_break live-bottom
- log_begin_msg "Running /scripts/live-bottom\n"
+ if ! [ -d "/root/usr/share/live-boot" ]
+ then
+ panic "A wrong rootfs was mounted."
+ fi
- run_scripts /scripts/live-bottom
- log_end_msg
+ persistence_exclude
+ fstab
+ Netbase
+
+ case "${LIVE_SWAPON}" in
+ true)
+ Swapon
+ ;;
+ esac
if [ "${UNIONFS}" = unionfs-fuse ]
then
if [ "${UNIONFS}" = unionfs-fuse ]
then