Improve booting of T2SDE live ISOs (#3526)

T2SDE changed the boot process vastly with 26.3 as it ships as a live
image now. So the injection hooks need to be customized.
This commit is contained in:
Florian Fuchs
2026-04-05 10:49:01 +02:00
committed by GitHub
parent ed61a955bf
commit a1771bd9b8
3 changed files with 6 additions and 4 deletions

View File

@@ -314,8 +314,8 @@ ventoy_get_os_type() {
fi
if [ -e /init ]; then
if $GREP -q -m1 'T2 SDE' /init; then
if [ -e /etc/initrd-release ]; then
if $GREP -q -m1 't2sde' /etc/initrd-release; then
echo 't2'; return
fi
fi