aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-26 05:14:01 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-26 05:14:01 +0200
commit15a7c2f1b038be695e1e40f4dfdba180fda6d525 (patch)
tree9dd0accb94976517a1dbbb48e1a3c584291c802a /install.sh
parent4ad0118f359d954f9e5276ca6bf29a51e6dfa559 (diff)
cap_sys_nice, set caps on gsr-kms-server and gpu-screen-recorder
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index fe0ab2c..983aaf7 100755
--- a/install.sh
+++ b/install.sh
@@ -9,6 +9,8 @@ cd "$script_dir"
strip gsr-kms-server
strip gpu-screen-recorder
rm -f "/usr/local/bin/gpu-screen-recorder"
+setcap cap_sys_admin+ep gsr-kms-server
+setcap cap_sys_nice+ep gpu-screen-recorder
install -Dm755 "gsr-kms-server" "/usr/bin/gsr-kms-server"
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"