projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch to use cryptsetup volumes for persistent storage.
[live-boot-grml.git]
/
scripts
/
live
diff --git
a/scripts/live
b/scripts/live
index
8db6b80
..
0280edd
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-1171,7
+1171,7
@@
find_livefs ()
fi
# or do the scan of block devices
fi
# or do the scan of block devices
- for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -v loop | grep -v ram)
+ for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -v loop | grep -v ram
| grep -v 'dm-'
)
do
devname=$(sys2dev "${sysblock}")
fstype=$(get_fstype "${devname}")
do
devname=$(sys2dev "${sysblock}")
fstype=$(get_fstype "${devname}")
@@
-1218,6
+1218,11
@@
set_usplash_timeout ()
mountroot ()
{
mountroot ()
{
+
+ if [ -x /scripts/local-top/cryptroot ]; then
+ /scripts/local-top/cryptroot
+ fi
+
exec 6>&1
exec 7>&2
exec > live.log
exec 6>&1
exec 7>&2
exec > live.log