From 5ab37230a4572ef6c368e64471bd4722ac133042 Mon Sep 17 00:00:00 2001 From: Dominik Dzienia Date: Mon, 9 Mar 2026 16:39:20 +0000 Subject: [PATCH] Release 1.11.1 --- install.sh | 8 ++++---- package.json | 2 +- updated | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 9740527..46b6e7e 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -### version: 1.11.0 +### version: 1.11.1 # ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.# # Nightscout Mikr.us setup script # @@ -16,7 +16,7 @@ # This file is automatically generated. Do not modify it directly! # Instead, modify the source files in the src directory and run the build script! # -# Build time: 2026.03.09 16:28 +# Build time: 2026.03.09 16:39 @@ -63,7 +63,7 @@ DISK_LOW_MAIL=5184000 # == 60 days in seconds DISK_CRITICAL_WARNING=104857600 # == 100 MiB DISK_CRITICAL_MAIL=604800 # == 7 days in seconds DOCKER_DOWN_MAIL=604800 # == 7 days in seconds -SCRIPT_VERSION="1.11.0" #auto-update +SCRIPT_VERSION="1.11.1" #auto-update SCRIPT_BUILD_TIME="2026.03.09" #auto-update FORCE_DEBUG_LOG="" NONINTERACTIVE_MODE="false" @@ -1533,7 +1533,7 @@ get_watchdog_status() { watchdog_run() { local host_hash - host_hash=$(printf '%s' "$(hostname)" | md5sum | awk '{print $1}' | cut -c1-8 | xargs printf '%d' 16 16) + host_hash=$(( 16#$(printf '%s' "$(hostname)" | md5sum | awk '{print $1}' | cut -c1-8) )) local offset=$(( host_hash % 300 )) echo "Watchdog delay: sleeping ${offset}s (host-based offset)" sleep "$offset" diff --git a/package.json b/package.json index e21289e..1959c10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dlvoy/ns-installer-mikrus", - "version": "1.11.0", + "version": "1.11.1", "description": "Nightscout installer for mikr.us VPS", "main": "index.js", "scripts": { diff --git a/updated b/updated index 4387c62..6c8529e 100644 --- a/updated +++ b/updated @@ -1 +1 @@ -2026-03-09T16:28:23.043Z \ No newline at end of file +2026-03-09T16:39:05.872Z \ No newline at end of file