V8.13.064.2025.10.07

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-07 18:32:33 +01:00
parent fd2357998b
commit 242f0a0159
3 changed files with 8 additions and 8 deletions

View File

@@ -14,8 +14,8 @@ set -Ceuo pipefail
umask 0077
install -d -m 0755 /run/lock
exec 9> /run/lock/9000-cdi-starter.lock
flock -n 9 || { echo "9000-cdi-starter already running. Exiting."; exit 0; }
exec 9> /run/lock/9999-cdi-starter.lock
flock -n 9 || { echo "9999-cdi-starter already running. Exiting."; exit 0; }
#######################################
# Wait for network connectivity by looping.
@@ -41,7 +41,7 @@ main() {
install -d -m 0700 /root/.ciss/cdi/log
# shellcheck disable=SC2155
declare -r log="/root/.ciss/cdi/log/9000-cdi-starter_$(date +'%F_%H-%M-%S').log"
declare -r log="/root/.ciss/cdi/log/9999-cdi-starter_$(date +'%F_%H-%M-%S').log"
# shellcheck disable=SC2312
exec > >(tee -a "${log}") 2>&1