mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/iwd: suppress S40iwd shellcheck warnings
- suppress S40iwd shellcheck warnings:
In package/iwd/S40iwd line 8:
[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
^--------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In package/iwd/S40iwd line 15:
-- $IWD_ARGS
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
- remove package/iwd/S40iwd from .checkpackageignore
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f38453f00e)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
f7b4ef3d38
commit
d0a755cfe2
@@ -499,7 +499,6 @@ package/irqbalance/S13irqbalance Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/irrlicht/0001-override-CPPFLAGS-CXXFLAGS-and-CFLAGS-in-Makefile.patch lib_patch.Upstream
|
||||
package/irrlicht/0002-makefile-override-LDFLAGS-and-remove-obsolete-X11R6-.patch lib_patch.Upstream
|
||||
package/iucode-tool/S00iucode-tool lib_sysv.Variables
|
||||
package/iwd/S40iwd Shellcheck
|
||||
package/janus-gateway/0001-disable-ssp.patch lib_patch.Upstream
|
||||
package/kexec-lite/0001-clean-restart.patch lib_patch.Upstream
|
||||
package/keyutils/0001-fix-install-rule.patch lib_patch.Upstream
|
||||
|
||||
@@ -5,11 +5,13 @@ PIDFILE="/var/run/$DAEMON.pid"
|
||||
|
||||
IWD_ARGS=""
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
|
||||
|
||||
start() {
|
||||
printf 'Starting %s: ' "$DAEMON"
|
||||
mkdir -p /tmp/iwd/hotspot
|
||||
# shellcheck disable=SC2086 # we need the word splitting
|
||||
start-stop-daemon --start --background --make-pidfile \
|
||||
--pidfile "$PIDFILE" --exec "/usr/libexec/$DAEMON" \
|
||||
-- $IWD_ARGS
|
||||
|
||||
Reference in New Issue
Block a user