package/htpdate: fix shellcheck SC1090

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@gmail.com>
[Julien: remove S43htpdate .checkpackageignore entry
  to fix check-package error
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 1f2b459b56)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Angelo Compagnucci
2025-09-09 18:12:59 +02:00
committed by Thomas Perale
parent 40b81bbf9f
commit e17496b123
2 changed files with 2 additions and 1 deletions

View File

@@ -501,7 +501,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

View File

@@ -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() {