Generalized examples

This commit is contained in:
Michele Cereda
2023-03-04 12:56:49 +01:00
parent bf7455519f
commit 30b1465397
8 changed files with 20 additions and 20 deletions

View File

@@ -4,7 +4,7 @@ sudo zypper install --no-confirm \
boinc-client \
boinc-manager
sudo usermod --append --groups boinc mek
sudo usermod --append --groups boinc "$USER"
# stop computation when user active
xhost +SI:localuser:boinc

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env sh
: "${USER_FULL_NAME:='Mek'}"
: "${USER_NAME:='mek'}"
: "${USER_FULL_NAME:?'not set'}"
: "${USER_NAME:?'not set'}"
: "${USER_PASSWORD:?'not set'}"
: "${USER_TYPE:='local'}"