add support for UnionTechOS fuyu (#864)

This commit is contained in:
panchenbo
2021-04-27 17:28:35 +08:00
committed by GitHub
parent e1099e1e5b
commit 042ca4b5e3
2 changed files with 5 additions and 0 deletions

View File

@@ -153,7 +153,10 @@ ventoy_get_os_type() {
echo 'rhel7'; return
elif $GREP -q 'openEuler' /etc/os-release; then
echo 'openEuler'; return
elif $GREP -q 'fuyu' /etc/os-release; then
echo 'openEuler'; return
fi
fi
if $BUSYBOX_PATH/dmesg | $GREP -q -m1 "Xen:"; then

View File

@@ -198,6 +198,8 @@ ventoy_get_os_type() {
echo 'rhel7'; return
elif $GREP -q 'openEuler' /etc/os-release; then
echo 'openEuler'; return
elif $GREP -q 'fuyu' /etc/os-release; then
echo 'openEuler'; return
fi
fi