Fix the media missing issue when boot UOS server ISO file.

pull/2476/merge
longpanda 10 months ago
parent f8811a4656
commit 7ff243f9bb

@ -376,6 +376,14 @@ ventoy_get_os_type() {
if $GREP -q 'chimera' /proc/version; then
echo 'chimera'; return
fi
if $GREP -q '4.19.' /proc/version; then
if [ -d /lib/dracut/hooks ]; then
echo 'openEuler'; return
fi
fi
echo "default"
}

Loading…
Cancel
Save