]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/ventoy_loop.sh
issue #710
[Ventoy.git] / IMG / cpio / ventoy / ventoy_loop.sh
index a1be76dcccfe57e9b4ddc459ef98314169cd0f89..c6f12dfca59d9d71b179603445e08c9137bfa52d 100644 (file)
@@ -92,6 +92,10 @@ ventoy_get_os_type() {
         fi
     fi
     
+    if $GREP -q 'ventoyos=' /proc/cmdline; then
+        $SED "s/.*ventoyos=\([a-zA-Z0-9_-]*\).*/\1/" /proc/cmdline; return 
+    fi    
+    
     echo "default"
 }