]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/ventoy_chain.sh
Fix issue #456
[Ventoy.git] / IMG / cpio / ventoy / ventoy_chain.sh
index 613069945a5b220ca072d31f37dadd13fae37a7d..1bdc02a5469fc1e521e8997b12b18a5270c15e9b 100644 (file)
@@ -301,6 +301,10 @@ ventoy_get_os_type() {
         echo 'pisilinux'; return
     fi
     
+    if $GREP -q 'blackPanther' /proc/version; then
+        echo 'blackPanther'; return
+    fi
+    
     echo "default"
 }
 
@@ -345,7 +349,7 @@ fi
 
 cd /
 
-unset VTLOG FIND GREP EGREP CAT AWK SED SLEEP HEAD
+unset VTLOG FIND GREP EGREP CAT AWK SED SLEEP HEAD vtcmdline
 
 for vtinit in $user_rdinit /init /sbin/init /linuxrc; do
     if [ -d /ventoy_rdroot ]; then