package/mdnsd: disable shellcheck SC2317 for S50mdnsd

shellcheck 0.9.0 throw an error due to SC2317 check on
sysv init scripts.

Indeed, start/stop/restart/reload function can't be
reached in one execution.

See:
https://www.shellcheck.net/wiki/SC2317

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Romain Naour
2025-02-08 15:23:26 +01:00
committed by Peter Korsgaard
parent ef80b710f2
commit 236a890d80

View File

@@ -1,4 +1,5 @@
#!/bin/sh
# shellcheck disable=SC2317 # Don't warn about unreachable commands in this file
DAEMON=mdnsd
MDNSD=/usr/sbin/$DAEMON