It can detect NVIDIA driver

`./webodm.sh start --gpu` pulls **opendronemap/nodeodm:gpu.intel** instead of **nvidia**. So, I fix it
pull/1121/head
Muhammad Ichsan 2022-01-15 00:07:23 +07:00 zatwierdzone przez GitHub
rodzic 208eeab37b
commit a31502b20e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -171,7 +171,7 @@ detect_gpus(){
if [ "${platform}" = "Linux" ]; then
set +e
lspci | grep 'VGA.*NVIDIA'
lspci | grep 'NVIDIA'
if [ "${?}" -eq 0 ]; then
export GPU_NVIDIA=true
set -e