[Buildroot] [git commit branch/2025.08.x] package/htpdate: fix shellcheck SC1090
Thomas Perale
thomas.perale at mind.be
Thu Sep 18 08:41:38 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=02ba72ee845929991e38f281560babf767e9a11a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.08.x
Using /dev/null as file source because the package doesn't provide a default
systemv service configuration file.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
[Julien: remove S43htpdate .checkpackageignore entry
to fix check-package error
]
Signed-off-by: Julien Olivain <ju.o at free.fr>
(cherry picked from commit 1f2b459b56b117e97164feb397ad14435717d524)
Signed-off-by: Thomas Perale <thomas.perale at mind.be>
---
.checkpackageignore | 1 -
package/htpdate/S43htpdate | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.checkpackageignore b/.checkpackageignore
index fb61258753..4bb387422b 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -495,7 +495,6 @@ package/haveged/S21haveged Shellcheck lib_sysv.Variables
package/heirloom-mailx/0001-fix-libressl-support.patch lib_patch.Upstream
package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch lib_patch.Upstream
package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch lib_patch.Upstream
-package/htpdate/S43htpdate Shellcheck
package/i2pd/S99i2pd Shellcheck lib_sysv.Indent lib_sysv.Variables
package/i7z/0001-fix-build-with-gcc-10.patch lib_patch.Upstream
package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch lib_patch.Upstream
diff --git a/package/htpdate/S43htpdate b/package/htpdate/S43htpdate
index 5971d70639..22e5e6c803 100644
--- a/package/htpdate/S43htpdate
+++ b/package/htpdate/S43htpdate
@@ -4,6 +4,8 @@ DAEMON="htpdate"
PIDFILE="/var/run/$DAEMON.pid"
HTPDATE_ARGS="-a -s -t https://google.com"
+
+# shellcheck source=/dev/null
test -r "/etc/default/$DAEMON" && . "/etc/default/$DAEMON"
start() {
More information about the buildroot
mailing list