]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/ventoy.sh
Update build_libfuse.sh
[Ventoy.git] / IMG / cpio / ventoy / ventoy.sh
index 2517f0b12688713f8f3dc8efedea2d79adcca6dc..5beb46df8602cf337529997740183ffd2e349b6e 100644 (file)
@@ -165,6 +165,25 @@ ventoy_get_os_type() {
         echo 'arch'; return
     fi
     
+    if $GREP -q 'berry ' /proc/version; then
+        echo 'berry'; return
+    fi
+    
+    if $GREP -q 'Gobo ' /proc/version; then
+        echo 'gobo'; return
+    fi
+    
+    if $GREP -q 'NuTyX' /proc/version; then
+        echo 'nutyx'; return
+    fi
+    
+    if [ -d /gnu ]; then
+        vtLineNum=$($FIND /gnu/ -name guix | $BUSYBOX_PATH/wc -l)
+        if [ $vtLineNum -gt 0 ]; then
+            echo 'guix'; return
+        fi
+    fi
+    
     echo "default"
 }