X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/d678e549566bd0edb39c7f9279ef3caffdafbba3..0ac83bffdadab76384cf54004861d8d785660754:/IMG/cpio/ventoy/ventoy_chain.sh?ds=sidebyside diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index 938f2e2..4c9ec4a 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -305,6 +305,10 @@ ventoy_get_os_type() { echo 'blackPanther'; return fi + if $GREP -q 'primeos' /proc/version; then + echo 'primeos'; return + fi + echo "default" } @@ -349,7 +353,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