style: refine dyndns.sh and vars.example comments and formatting

This commit is contained in:
2026-06-28 10:08:08 +02:00
parent b3a4c05001
commit edef3c3303
2 changed files with 24 additions and 24 deletions
+4 -4
View File
@@ -17,7 +17,7 @@
# - Validate database connectivity before command execution
# - POSIX-compatible operation for cron and service integration
# Authors: Stephan Düsterhaupt
# Authors: Stephan Düsterhaupt, Ivo Noack aka Insonic
# Copyright (c) 2018-2026 CB-601 - the open tec Elevator
# License: MIT
@@ -398,7 +398,7 @@ set_var() {
# SDuesterhaupt: 2026-06-18 - Write a message to the dynDNS log file.
#
# Severity levels:
# 0 -> OFF
# 1 -> DEBUG
@@ -406,7 +406,7 @@ set_var() {
# 3 -> WARNING
# 4 -> ERROR
# 5 -> CRITICAL
#
# @param1: Log message.
# @param2: Severity level.
_log() {
@@ -444,7 +444,7 @@ _log() {
# SDuesterhaupt: 2026-06-18 - Check whether DYNDNS_MEMBER_HOSTNAME is a valid hostname
#
# Returns:
# 0 if valid
# 1 if invalid
+2 -2
View File
@@ -69,7 +69,7 @@
# Database login credentials.
# These are mainly used when DYNDNS_SQL_GROUP is unset/empty.
#set_var DYNDNS_SQL_USER "dyndns_user"
#set_var DYNDNS_SQL_PASS "strong_passphrase"
#set_var DYNDNS_SQL_PASS "<REPLACE_WITH_STRONG_PASSWORD>"
# Additional database client options, if needed.
# Example:
@@ -119,7 +119,7 @@
#set_var DYNDNS_MEMBER_EMAIL "admin@example24.com"
# Password or shared secret used during member creation/authentication
#set_var DYNDNS_MEMBER_PASS "strong_passphrase"
#set_var DYNDNS_MEMBER_PASS "<REPLACE_WITH_STRONG_PASSWORD>"
# ------------------------------------------------------------------
# OPTIONAL COMMAND HOOKS