From: longpanda Date: Tue, 26 Jul 2022 15:08:40 +0000 (+0800) Subject: Fix the repo missing for Kylin V10 SP2 Server X-Git-Tag: v1.0.79~1 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/4100e7a886befdd83c5eb920baa471c165677bf1 Fix the repo missing for Kylin V10 SP2 Server --- diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index f6a807e..fbde4c8 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -362,6 +362,13 @@ 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 + echo "default" }