diff options
Diffstat (limited to 'install_preserve_video_memory.sh')
-rwxr-xr-x | install_preserve_video_memory.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/install_preserve_video_memory.sh b/install_preserve_video_memory.sh new file mode 100755 index 0000000..c5cf658 --- /dev/null +++ b/install_preserve_video_memory.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +script_dir=$(dirname "$0") +cd "$script_dir" + +[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1 + +install -Dm644 gsr-nvidia.conf /etc/modprobe.d/gsr-nvidia.conf |