X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/be50ea69aaf2a18b9801c04efea19825d7f34c44..1186caba41c57c390db2aee650d9c451809bffa3:/IMG/cpio/ventoy/ventoy_loop.sh diff --git a/IMG/cpio/ventoy/ventoy_loop.sh b/IMG/cpio/ventoy/ventoy_loop.sh index 6171adf..bbb7c25 100644 --- a/IMG/cpio/ventoy/ventoy_loop.sh +++ b/IMG/cpio/ventoy/ventoy_loop.sh @@ -97,7 +97,7 @@ cd / unset VTLOG FIND GREP EGREP CAT AWK SED SLEEP HEAD -for vtinit in $user_rdinit /sbin/init /init /linuxrc; do +for vtinit in $user_rdinit /init /sbin/init /linuxrc; do if [ -d /ventoy_rdroot ]; then if [ -e "/ventoy_rdroot$vtinit" ]; then # switch_root will check /init file, this is a cheat code