File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 2
2
set -eu
3
3
4
4
# Fix BOINC suspension on computer use
5
+ # This is also in agx_startup.py, so it may not be necessary here.
5
6
xhost si:localuser:boinc
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eu
3
+
4
+ if [ " ${EUID} " -ne 0 ]; then
5
+ echo " This script should be run as root."
6
+ exit 1
7
+ fi
8
+
9
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
10
+ BOINC_SERVICE_DIR=" /etc/systemd/system/boinc-client.service.d"
11
+
12
+ echo " Applying BOINC fixes."
13
+
14
+ echo " Suppressing log spam."
15
+ # https://wiki.archlinux.org/title/BOINC#Log_spam
16
+ mkdir -p " ${BOINC_SERVICE_DIR} "
17
+ cp " ${SCRIPT_DIR} /wayland-syslog-spam.conf" " ${BOINC_SERVICE_DIR} /wayland-syslog-spam.conf"
18
+
19
+ echo " BOINC fixes ready."
Original file line number Diff line number Diff line change
1
+ [Service]
2
+ LogFilterPatterns=~no authorization protocol specified
You can’t perform that action at this time.
0 commit comments