X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/cd9aa16b204b4642490a8be58e8871bf37e44de0..d9182dbfa4fde93adb0b038d3d66f2d68e55cefd:/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh diff --git a/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh b/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh index 6f7aec0..9571cb0 100644 --- a/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh @@ -43,6 +43,8 @@ ventoy_get_debian_distro() { fi elif $GREP -m1 -q 'Minimal.*Linux.*Live' /init; then echo 'mll'; return + elif $GREP -m1 -q 'stratodesk.com' /init; then + echo 'stratodesk'; return fi fi @@ -56,6 +58,10 @@ ventoy_get_debian_distro() { echo 'slax'; return fi + if $GREP -q 'minios/' /proc/cmdline; then + echo 'minios'; return + fi + if $GREP -q 'PVE ' /proc/version; then echo 'pve'; return fi