Commit 4100e7a8 authored by longpanda's avatar longpanda
Browse files

Fix the repo missing for Kylin V10 SP2 Server

parent a4f5ce2c
...@@ -362,6 +362,13 @@ ventoy_get_os_type() { ...@@ -362,6 +362,13 @@ ventoy_get_os_type() {
fi 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" echo "default"
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment