X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/cd4a5fcb0685b8a12915d22efc5c1e0cc8b40d9b..d5b829f8e8c8367b032b4bb57a8fc37701d42e17:/IMG/cpio/ventoy/ventoy.sh?ds=sidebyside diff --git a/IMG/cpio/ventoy/ventoy.sh b/IMG/cpio/ventoy/ventoy.sh index 6da1e7d..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 @@ -148,6 +149,21 @@ ventoy_get_os_type() { fi fi + if $EGREP -q 'ALT ' /proc/version; then + echo 'alt'; return + fi + + if $EGREP -q 'porteus' /proc/version; then + 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" }