X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/4c9065a60d98283b70ee08f9f0243595c52840ac..6d4f5ff00b67e0bbce42f4d4eb2205d6a671ee6e:/IMG/cpio/ventoy/ventoy_chain.sh?ds=sidebyside 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