Files
felhom.eu/documentation/audits/kernel-spike-2026-10-07/tools/spike-bootnext-undo.sh
T

5 lines
196 B
Bash

#!/bin/bash
set -euo pipefail
N=$(efibootmgr | sed -n 's/^Boot\([0-9A-F]\{4\}\)\* felhom-next.*/\1/p'); [ -n "$N" ] && efibootmgr -q -b $N -B
rm -rf /boot/efi/EFI/felhomnext; efibootmgr | head -4