mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package: optee-client: fix indentation issues
Fix issues reported by utils/check-package:
package/optee-client/S30optee:40: should be indented with tabs (http://nightly.buildroot.org/#adding-packages-start-script)
package/optee-client/S30optee:46: should be indented with tabs (http://nightly.buildroot.org/#adding-packages-start-script)
package/optee-client/S30optee:47: should be indented with tabs (http://nightly.buildroot.org/#adding-packages-start-script)
package/optee-client/S30optee:48: should be indented with tabs (http://nightly.buildroot.org/#adding-packages-start-script)
package/optee-client/S30optee:0: filename should be S<number><number><daemon name> (http://nightly.buildroot.org/#adding-packages-start-script)
package/optee-client/S30tee-supplicant:0: run 'shellcheck' and fix the warnings
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[yann.morin.1998@free.fr:
- fix shellcheck SC2086
- rename the file
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit b1c4c18766)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
4dda5e2880
commit
15637d4830
@@ -7,6 +7,7 @@ DAEMON_ARGS="-d /dev/teepriv0"
|
|||||||
|
|
||||||
start() {
|
start() {
|
||||||
printf 'Starting %s: ' "$DAEMON"
|
printf 'Starting %s: ' "$DAEMON"
|
||||||
|
# shellcheck disable=SC2086 # we need the word splitting
|
||||||
start-stop-daemon -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \
|
start-stop-daemon -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \
|
||||||
-- $DAEMON_ARGS
|
-- $DAEMON_ARGS
|
||||||
status=$?
|
status=$?
|
||||||
@@ -37,13 +38,13 @@ restart() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start|stop|restart)
|
start|stop|restart)
|
||||||
"$1";;
|
"$1";;
|
||||||
reload)
|
reload)
|
||||||
# Restart, since there is no true "reload" feature (does not
|
# Restart, since there is no true "reload" feature (does not
|
||||||
# reconfigure/restart on SIGHUP, just closes all open files).
|
# reconfigure/restart on SIGHUP, just closes all open files).
|
||||||
restart;;
|
restart;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {start|stop|restart|reload}"
|
echo "Usage: $0 {start|stop|restart|reload}"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
Reference in New Issue
Block a user