Add support for easyOS easy-4.4.2-amd64.img. (#1926)

This commit is contained in:
longpanda
2022-10-22 15:28:16 +08:00
parent 3f09fb9a23
commit 4a42bdfce7
6 changed files with 198 additions and 0 deletions

View File

@@ -75,6 +75,10 @@ ventoy_get_os_type() {
echo 'openwrt'; return
fi
if $GREP -q 'easyos' /proc/cmdline; then
echo 'easyos'; return
fi
if [ -e /BOOT_SPECS ]; then
if $GREP -q 'easyos' /BOOT_SPECS; then
echo 'easyos'; return