]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/ventoy.sh
update
[Ventoy.git] / IMG / cpio / ventoy / ventoy.sh
index 640b08a9e2d48baf9b8f1e76610e5ae2a5334261..42efb2ec1c13dcdd4ff56850275159763f2a64c1 100644 (file)
@@ -196,6 +196,14 @@ 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
+    
     echo "default"
 }