refactoring changes from sequpgrade (endReturn, ...) and some modernizations

This commit is contained in:
2023-01-03 15:49:08 +01:00
parent 215135e8aa
commit 3c22d5729f
69 changed files with 553 additions and 654 deletions

View File

@@ -71,7 +71,7 @@ After = systemd-user-sessions.service network.target sound.target
# Wants = mysql.service
[Service]
User = ${toolUser}
User = ${toolUser}
Group = ${toolUser}
Type = simple
ExecStart = /usr/bin/kodi-standalone
@@ -80,7 +80,7 @@ Restart = always
RestartSec = 15
[Install]
WantedBy = multi-user.target"
WantedBy = multi-user.target"
step_5_info() { echo "Enable text input for USB keyboards within $toolName"; }
step_5() {
@@ -107,7 +107,7 @@ bootConfigLoc="/boot/config.txt"
bootConfig="
# Modifications for $toolName
start_x=1
gpu_mem=320"
gpu_mem=320"
step_7_info() { echo "Reboot is needed for all changes to take effect"; }
step_7() {
@@ -192,7 +192,7 @@ step_40() {
info "$i"
done
interactive && read -r -p "Are you sure? (y)/[n] " answer
case "$answer" in
case "$answer" in
y|Y)
exe rm "${musicDb[@]}";;
*)