nvidia-merged/nvidia-smi
modeco80 7108916b9e initial working tree
a bit messy, but it works without me having to play around with it now.
2024-09-29 22:10:55 -04:00

12 lines
188 B
Bash

#!/usr/bin/bash
for a in $*
do
case $a in
vgpu)
export LD_PRELOAD="/usr/lib/vgpu_unlock_rs/libvgpu_unlock_rs.so"
;;
esac
done
exec /usr/lib/nvidia/nvidia-smi.orig $@