X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/88dcceeabc61862ee3965d4ea266fccceb1e5838..3c46432d6f4ae95d144373511b6887f6c0f3be90:/IMG/cpio/ventoy/ventoy.sh diff --git a/IMG/cpio/ventoy/ventoy.sh b/IMG/cpio/ventoy/ventoy.sh index 42efb2e..7242021 100644 --- a/IMG/cpio/ventoy/ventoy.sh +++ b/IMG/cpio/ventoy/ventoy.sh @@ -133,8 +133,9 @@ ventoy_get_os_type() { if $GREP -q 'XenServer' /etc/os-release; then echo 'xen'; return elif $GREP -q 'SUSE ' /etc/os-release; then - echo 'suse'; return - + echo 'suse'; return + elif $GREP -q 'uruk' /etc/os-release; then + echo 'debian'; return fi fi @@ -204,6 +205,23 @@ ventoy_get_os_type() { echo 'cdlinux'; return fi + if $GREP -q 'parabola' /proc/version; then + echo 'parabola'; return + fi + + if $GREP -q 'cucumber' /proc/version; then + echo 'cucumber'; return + fi + + if $GREP -q 'fatdog' /proc/version; then + echo 'fatdog'; return + fi + + if $GREP -q 'KWORT' /proc/version; then + echo 'kwort'; return + fi + + echo "default" }