Skip to content
Snippets Groups Projects
Commit eb630616 authored by Jafar Lie's avatar Jafar Lie
Browse files

added check_nvidia_uvm.nhc

Former-commit-id: fed3035e
parent 785cca36
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
function check_nvidia_uvm() {
#echo ">>> Checking xorg.conf File Existance >>>>>>>>>>>>>>>>>>>>>>>>>"
test -e /dev/nvidia-uvm
if [ $? -ne 0 ]
then
die 1 " $FUNCNAME ERROR nvidia-uvm Device Not Detected"
return 1
fi
test -e /dev/nvidia-uvm-tools
if [ $? -ne 0 ]
then
die 1 " $FUNCNAME ERROR nvidia-uvm-tools Device Not Detected"
return 1
fi
return 0
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment