mirror of https://github.com/ventoy/Ventoy.git
bug fix
This commit is contained in:
parent
11b30dab5f
commit
88f77c01e4
|
@ -2078,11 +2078,15 @@ function img_common_menuentry {
|
||||||
if vt_str_begin "$vtImgHd3Label" "ROOT-"; then
|
if vt_str_begin "$vtImgHd3Label" "ROOT-"; then
|
||||||
if [ -f (vtimghd,3)/etc/os-release.d/ID ]; then
|
if [ -f (vtimghd,3)/etc/os-release.d/ID ]; then
|
||||||
vt_1st_line (vtimghd,3)/etc/os-release.d/ID vt_release_line1
|
vt_1st_line (vtimghd,3)/etc/os-release.d/ID vt_release_line1
|
||||||
if [ vt_str_begin "$vt_release_line1" "FydeOS" ]; then
|
if vt_str_begin "$vt_release_line1" "FydeOS"; then
|
||||||
ventoy_img_fydeos
|
ventoy_img_fydeos
|
||||||
|
else
|
||||||
|
ventoy_img_cloudready
|
||||||
fi
|
fi
|
||||||
elif [ -f (vtimghd,3)/etc/cloudready-release ]; then
|
elif [ -f (vtimghd,3)/etc/cloudready-release ]; then
|
||||||
ventoy_img_cloudready
|
ventoy_img_cloudready
|
||||||
|
elif [ -f (vtimghd,3)/etc/chrome_dev.conf ]; then
|
||||||
|
ventoy_img_cloudready
|
||||||
fi
|
fi
|
||||||
elif vt_str_begin "$vtImgHd1Label" "LAKKA"; then
|
elif vt_str_begin "$vtImgHd1Label" "LAKKA"; then
|
||||||
ventoy_img_openelec lakka
|
ventoy_img_openelec lakka
|
||||||
|
|
Loading…
Reference in New Issue