#!/usr/bin/env bash
# Migration: convert the installer-seeded protocol:linux Limine entry to a
# protocol:efi UKI entry so the default auto-boot target survives a kernel
# update. Idempotent — delegates to the root repair.
set -euo pipefail
: "${NOSIGNAL_SRC:?NOSIGNAL_SRC must point at the NoSignal source root}"
sudo sh "$NOSIGNAL_SRC/limine-uki-dead-entry/fix-limine-uki-entry.sh"
