X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/45d15a764fe3a02d57778d864026ff1ef2ecad91..525ef4f51688b6b60a1881b9933107b2e3c8ec6c:/IMG/cpio/ventoy/ventoy.sh?ds=inline diff --git a/IMG/cpio/ventoy/ventoy.sh b/IMG/cpio/ventoy/ventoy.sh index 727102a..2517f0b 100644 --- a/IMG/cpio/ventoy/ventoy.sh +++ b/IMG/cpio/ventoy/ventoy.sh @@ -130,6 +130,7 @@ ventoy_get_os_type() { echo 'xen'; return elif $GREP -q 'SUSE ' /etc/os-release; then echo 'suse'; return + fi fi @@ -156,6 +157,14 @@ ventoy_get_os_type() { echo 'debian'; return fi + if $GREP -q 'Clear Linux ' /proc/version; then + echo 'clear'; return + fi + + if $GREP -q 'artix' /proc/version; then + echo 'arch'; return + fi + echo "default" }