X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/0e9d34422a45dd9e7ee01790c15fa92eae4d76b7..b9892660b5b5467d17fe6a690b16ea1194fd9f27:/IMG/cpio/ventoy/ventoy_chain.sh diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index c0dbf11..d63a132 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -52,6 +52,11 @@ ventoy_get_os_type() { fi fi + # Parted Magic + if [ -d /pmagic ]; then + echo 'pmagic'; return + fi + # PrimeOS : if $GREP -q 'PrimeOS' /proc/version; then echo 'primeos'; return @@ -237,10 +242,6 @@ ventoy_get_os_type() { echo 'adelie'; return fi - if $GREP -q 'pmagic' /proc/version; then - echo 'pmagic'; return - fi - if $GREP -q 'CDlinux' /proc/cmdline; then echo 'cdlinux'; return fi