X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/c4c05fc073958c1c1a6c600632ebf92139ffbdd9..8ef9732931bb298c8d5ffd66efcc4d79ad2cdbe2:/IMG/cpio/ventoy/ventoy_chain.sh diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index f6a807e..ba76620 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -362,6 +362,16 @@ ventoy_get_os_type() { fi + #Kylin V10 Server + if [ -f /usr/sbin/dhclient ]; then + if $BUSYBOX_PATH/strings /usr/sbin/dhclient | $GREP -i -q -m1 openeuler; then + echo 'openEuler'; return + fi + fi + + if $GREP -q 'chimera' /proc/version; then + echo 'chimera'; return + fi echo "default" }