feat: merge missing SAC keys into config on deploy (2.1.2-SAC)

Append absent SAC variables from example instead of overwriting ssh-monitor.conf; set UseSAC=fallback on install and update.
This commit is contained in:
2026-06-21 12:20:33 +10:00
parent 65da13363d
commit 1361fd264c
4 changed files with 116 additions and 70 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ IFS=$'\n\t'
# ============================================
CONFIG_FILE="/etc/ssh-monitor.conf"
SSH_MONITOR_VERSION="2.1.1-SAC"
SSH_MONITOR_VERSION="2.1.2-SAC"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ -f "$SCRIPT_DIR/sac-client.sh" ]; then