projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replacing variable used in one place only with explicit directory for simplicity.
[live-boot-grml.git]
/
components
/
9990-misc-helpers.sh
diff --git
a/components/9990-misc-helpers.sh
b/components/9990-misc-helpers.sh
index
9312381
..
7cb2762
100755
(executable)
--- a/
components/9990-misc-helpers.sh
+++ b/
components/9990-misc-helpers.sh
@@
-199,9
+199,9
@@
check_dev ()
if is_supported_fs ${fstype}
then
devuid=$(blkid -o value -s UUID "$devname")
if is_supported_fs ${fstype}
then
devuid=$(blkid -o value -s UUID "$devname")
- [ -n "$devuid" ] && grep -qs "\<$devuid\>"
$tried
&& continue
+ [ -n "$devuid" ] && grep -qs "\<$devuid\>"
/var/lib/live/boot/devices-already-tried-to-mount
&& continue
mount -t ${fstype} -o ro,noatime "${devname}" ${mountpoint} || continue
mount -t ${fstype} -o ro,noatime "${devname}" ${mountpoint} || continue
- [ -n "$devuid" ] && echo "$devuid" >>
$tried
+ [ -n "$devuid" ] && echo "$devuid" >>
/var/lib/live/boot/devices-already-tried-to-mount
if [ -n "${FINDISO}" ]
then
if [ -n "${FINDISO}" ]
then