]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/debian/ventoy-hook.sh
keep up with 1.0.67 (#1464)
[Ventoy.git] / IMG / cpio / ventoy / hook / debian / ventoy-hook.sh
index 40971ca42c7cdb17197ab0445fbe9b82063e1ecb..202ca644911b43c92336b9806e56d0d7a049c941 100644 (file)
@@ -56,6 +56,10 @@ ventoy_get_debian_distro() {
         echo 'slax'; return
     fi
     
+    if $GREP -q 'minios/' /proc/cmdline; then
+        echo 'minios'; return
+    fi
+    
     if $GREP -q 'PVE ' /proc/version; then
         echo 'pve'; return
     fi
@@ -94,6 +98,10 @@ ventoy_get_debian_distro() {
         echo 'mocaccino'; return
     fi
     
+    if $GREP -q '/pyabr/' /proc/cmdline; then
+        echo 'pyabr'; return
+    fi
+    
     echo 'default'
 }