]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/ventoy.sh
Update README.md
[Ventoy.git] / IMG / cpio / ventoy / ventoy.sh
index 6426dc83bbea3953218f4c1c285ec22347f64e13..727102a24c279a86794bf1c2178ef9e444801904 100644 (file)
@@ -142,6 +142,19 @@ ventoy_get_os_type() {
         echo 'slackware'; return
     fi
     
+    if [ -e /init ]; then
+        if $GREP -i -q zeroshell /init; then
+            echo 'zeroshell'; return
+        fi
+    fi
+    
+    if $EGREP -q 'ALT ' /proc/version; then
+        echo 'alt'; return
+    fi
+    
+    if $EGREP -q 'porteus' /proc/version; then
+        echo 'debian'; return
+    fi
     
     echo "default"
 }