]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/ventoy.sh
Add Occitan language (#212)
[Ventoy.git] / IMG / cpio / ventoy / ventoy.sh
index 5beb46df8602cf337529997740183ffd2e349b6e..edab7e8c80d0e3d725c6ddd3ae40876c48097170 100644 (file)
@@ -184,6 +184,10 @@ ventoy_get_os_type() {
         fi
     fi
     
+    if $GREP -q 'android.x86' /proc/version; then
+        echo 'android'; return
+    fi 
+    
     echo "default"
 }
 
@@ -222,6 +226,11 @@ if [ "$rmproc" = "Y" ]; then
     $BUSYBOX_PATH/rm -rf /proc
 fi
 
+if [ -f $VTOY_PATH/ventoy_persistent_map ]; then
+    export PERSISTENT='YES'
+    export PERSISTENCE='true'
+fi
+
 cd /
 unset VTOY_PATH VTLOG FIND GREP EGREP CAT AWK SED SLEEP HEAD