mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-04-19 08:55:16 +00:00
add support for UnionTechOS fuyu (#864)
This commit is contained in:
parent
e1099e1e5b
commit
042ca4b5e3
@ -153,7 +153,10 @@ ventoy_get_os_type() {
|
|||||||
echo 'rhel7'; return
|
echo 'rhel7'; return
|
||||||
elif $GREP -q 'openEuler' /etc/os-release; then
|
elif $GREP -q 'openEuler' /etc/os-release; then
|
||||||
echo 'openEuler'; return
|
echo 'openEuler'; return
|
||||||
|
elif $GREP -q 'fuyu' /etc/os-release; then
|
||||||
|
echo 'openEuler'; return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $BUSYBOX_PATH/dmesg | $GREP -q -m1 "Xen:"; then
|
if $BUSYBOX_PATH/dmesg | $GREP -q -m1 "Xen:"; then
|
||||||
|
@ -198,6 +198,8 @@ ventoy_get_os_type() {
|
|||||||
echo 'rhel7'; return
|
echo 'rhel7'; return
|
||||||
elif $GREP -q 'openEuler' /etc/os-release; then
|
elif $GREP -q 'openEuler' /etc/os-release; then
|
||||||
echo 'openEuler'; return
|
echo 'openEuler'; return
|
||||||
|
elif $GREP -q 'fuyu' /etc/os-release; then
|
||||||
|
echo 'openEuler'; return
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user