diff options
Diffstat (limited to 'config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom')
-rwxr-xr-x | config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay index 9e4d913..e78ede8 100755 --- a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay +++ b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay @@ -7,7 +7,7 @@ bit=32 [ "$(uname -m)" = "x86_64" ] && bit=64 mkdir -p /live/gfxoverlay /root/live/gfxoverlay -for overlay in /root/live/image/gfxoverlay.* /root/live/image/gfxoverlay/$gfx.* +for overlay in /root/live/image/gfxoverlay/overlay.* /root/live/image/gfxoverlay/$gfx.* /root/live/image/gfxoverlay.* do [ ! -e "$overlay" ] && continue mount -o loop "$overlay" /live/gfxoverlay @@ -16,7 +16,8 @@ do if [ -d $dir/lib ]; then mount -o remount,add:1:$dir /root mount -n -o move /live/gfxoverlay /root/live/gfxoverlay - exit 0 + echo "$gfx" > /root/live/gfxoverlay.active + exit 0 fi done umount /live/gfxoverlay |