diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-03-31 01:11:12 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-03-31 01:11:12 +0200 |
commit | 82e37200849935beac7213877b526aeaf2170274 (patch) | |
tree | 9d972659f2e5b171a978e7b64137443b17aa87de /install_preserve_video_memory.sh | |
parent | f57b641d6db6513d16eb1aef4fcc444a102b6245 (diff) |
Install coolbits if using nvidia, add preserve video memory install script
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 |