diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-06-24 22:03:20 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-06-24 22:03:20 +0200 |
commit | 4fe3c74f01f235ffff782cee513db638c8de2375 (patch) | |
tree | bfe23b48ae472120f75264496d73656dec89d7b0 /components/9990-misc-helpers.sh | |
parent | 91cee8cf99e548d74df95deb7794743c961bf010 (diff) | |
download | live-boot-4fe3c74f01f235ffff782cee513db638c8de2375.tar.gz live-boot-4fe3c74f01f235ffff782cee513db638c8de2375.zip |
Replacing variable used in one place only with explicit directory for simplicity.
Diffstat (limited to 'components/9990-misc-helpers.sh')
-rwxr-xr-x | components/9990-misc-helpers.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh index 9312381..7cb2762 100755 --- 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") - [ -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 - [ -n "$devuid" ] && echo "$devuid" >> $tried + [ -n "$devuid" ] && echo "$devuid" >> /var/lib/live/boot/devices-already-tried-to-mount if [ -n "${FINDISO}" ] then |