Move additional scripts to 'extra' directory
This commit is contained in:
1 parent
15a7c2f1b0
commit
aabab6dd87
5 files changed
+2
-2
No files matched your search
@@ -0,0 +1,5 @@
|
||||
Section "Device"
|
||||
Identifier "Device0"
|
||||
Driver "nvidia"
|
||||
Option "Coolbits" "12"
|
||||
EndSection
|
||||
@@ -0,0 +1 @@
|
||||
options nvidia NVreg_PreserveVideoMemoryAllocations=1
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
|
||||
for xorg_conf_d in "/etc/X11/xorg.conf.d" "/usr/share/X11/xorg.conf.d" "/usr/lib/X11/xorg.conf.d"; do
|
||||
[ -d "$xorg_conf_d" ] && install -Dm644 "88-gsr-coolbits.conf" "$xorg_conf_d/88-gsr-coolbits.conf" && exit 0
|
||||
done
|
||||
Executable
+8
@@ -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
|
||||
Reference in new issue
Block a user