]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Add support for EulerOS
authorlongpanda <admin@ventoy.net>
Thu, 28 Apr 2022 14:18:02 +0000 (22:18 +0800)
committerlongpanda <admin@ventoy.net>
Thu, 28 Apr 2022 14:18:02 +0000 (22:18 +0800)
IMG/cpio/ventoy/ventoy_chain.sh

index 919632ea5653d85f4336407054151dd2e77c0412..f6a807ed71193472cf5586c0753c3fe445b184bb 100644 (file)
@@ -93,7 +93,10 @@ ventoy_get_os_type() {
     # Fedora : do the same process with rhel7
     elif $GREP -q '\.fc[0-9][0-9]\.' /proc/version; then
         echo 'rhel7'; return
-        
+
+    elif $GREP -q 'euleros' /proc/version; then
+        echo 'rhel7'; return
+
     # SUSE
     elif $GREP -q 'SUSE' /proc/version; then
         echo 'suse'; return