Optimize udev process

This commit is contained in:
longpanda
2026-10-05 23:28:56 +08:00
parent a2f6e4e31f
commit 2c4e686293
3 changed files with 1 additions and 97 deletions
+1 -10
View File
@@ -60,16 +60,7 @@ ventoy_get_debian_distro() {
fi
if $GREP -q 'NAME="Kylin"' /etc/os-release; then
echo 'kylin'; return
fi
if $GREP -q 'ID=ubuntu' /etc/os-release; then
if $GREP -q 'VERSION_ID=\"2[4-9]\.' /etc/os-release; then
echo 'ubuntu'; return
fi
if $GREP -q 'VERSION_ID=\"3[0-9]\.' /etc/os-release; then
echo 'ubuntu'; return
fi
fi
fi
fi
if $GREP -q 'slax/' /proc/cmdline; then