Support TrueNAS Scale (Linux) distro. (#3069 #3137)
Some checks failed
Ventoy CI / build (push) Has been cancelled
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Has been cancelled

This commit is contained in:
longpanda
2025-02-26 23:25:27 +08:00
parent 32fac72b5b
commit c5fd64d21c
3 changed files with 82 additions and 0 deletions

View File

@@ -114,6 +114,10 @@ ventoy_get_debian_distro() {
echo 'devuan'; return
fi
if $GREP -q 'truenas' /proc/version; then
echo 'truenas'; return
fi
echo 'default'
}