X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/45d15a764fe3a02d57778d864026ff1ef2ecad91..4cb9134e5c8be0dce3fd74ecffc08ff5cb4ffe9f:/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh diff --git a/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh b/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh index 05b9487..f23aef6 100644 --- a/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/debian/ventoy-hook.sh @@ -52,14 +52,6 @@ ventoy_get_debian_distro() { echo 'pve'; return fi - if $GREP -q '[Dd]eepin' /proc/version; then - echo 'deepin'; return - fi - - if $GREP -q '[Uu][Oo][Ss] ' /proc/version; then - echo 'deepin'; return - fi - if [ -d /porteus ]; then echo 'porteus'; return fi @@ -68,6 +60,10 @@ ventoy_get_debian_distro() { echo 'porteus'; return fi + if $GREP -q 'linuxconsole' /proc/version; then + echo 'linuxconsole'; return + fi + echo 'default' }