ddns-scripts: fix option name in updater messages
authorDharmik Parmar <redacted>
Wed, 29 Apr 2026 14:03:54 +0000 (19:33 +0530)
committerFlorian Eckert <redacted>
Tue, 5 May 2026 08:21:21 +0000 (10:21 +0200)
On master, updater help and missing-option text still refer to '-N'.
Use '-S' instead so the messages match accepted script options.
Also clarify that SECTION is the UCI section name/id to start.
This is a text-only change; runtime behavior is unchanged.

Bump PKG_RELEASE to 4.

Fixes: #27737
Signed-off-by: Dharmik Parmar <redacted>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh

index d90b1fcc502fb645382535c1550a4f074b18ea81..5a8ee109d1fcf9832a33655cdc6ed7de4836a723 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.8.3
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_LICENSE:=GPL-2.0
 
index d809fd5e3457569829c81982e457fe5f1a71d527..b01697c6d0e4db605b8292c0963f166382859ff8 100644 (file)
@@ -23,7 +23,7 @@ Usage:
 
 Parameters:
  -S SECTION          SECTION to start
-                     use either -N NETWORK or -S SECTION
+                     SECTION is the UCI section name/id to start
 
  -h                  show this help and exit
  -V                  show version and exit
@@ -57,7 +57,7 @@ while getopts ":hv:dn:S:V" OPT; do
 done
 shift $((OPTIND - 1 )) # OPTIND is 1 based
 
-[ -z "$SECTION_ID" ] && usage_err "option '-N' is missing"
+[ -z "$SECTION_ID" ] && usage_err "option '-S' is missing"
 
 # set file names
 PIDFILE="$ddns_rundir/$SECTION_ID.pid" # Process ID file
git clone https://git.99rst.org/PROJECT