X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-overlay.sh;fp=scripts%2Fboot%2F9990-overlay.sh;h=4ae5c07d999f44a6ed7537d372516ece8f980a31;hb=983d4783b0efa954c2322b8c70a4908e4da6bf99;hp=c6de171a3b60f73c2b840921ba933f726501495b;hpb=ac4897c1fa93c47ae0bf8811bd6c9c46bebacd43;p=live-boot-grml.git diff --git a/scripts/boot/9990-overlay.sh b/components/9990-overlay.sh similarity index 99% rename from scripts/boot/9990-overlay.sh rename to components/9990-overlay.sh index c6de171..4ae5c07 100755 --- a/scripts/boot/9990-overlay.sh +++ b/components/9990-overlay.sh @@ -353,7 +353,7 @@ setup_unionfs () live_rootfs="/live/rootfs/${d##*/}" live_rootfs_list="${live_rootfs_list} ${live_rootfs}" mkdir -p "${live_rootfs}" - case d in + case "${d}" in *.dir) # do nothing # mount -o bind "${d}" "${live_rootfs}" ;; @@ -381,7 +381,7 @@ setup_unionfs () # Gather information about custom mounts from devies detected as overlays get_custom_mounts ${custom_mounts} ${overlay_devices} - [ -n "${DEBUG}" ] && cp ${custom_mounts} "/lib/live/mount/persistence" + [ -n "${LIVE_BOOT_DEBUG}" ] && cp ${custom_mounts} "/lib/live/mount/persistence" # Now we do the actual mounting (and symlinking) local used_overlays