X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/4c9065a60d98283b70ee08f9f0243595c52840ac..fa7e1d5fa0007e5d1d634cc4e41fdfd3aa381a8e:/IMG/cpio/ventoy/ventoy_chain.sh diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index e135e1b..5c071a2 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -52,8 +52,12 @@ ventoy_get_os_type() { fi fi + # PrimeOS : + if $GREP -q 'PrimeOS' /proc/version; then + echo 'primeos'; return + # Debian : - if $GREP -q '[Dd]ebian' /proc/version; then + elif $GREP -q '[Dd]ebian' /proc/version; then echo 'debian'; return # Ubuntu : do the same process with debian