aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2019-01-15 11:15:22 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-01-16 14:25:17 +0100
commit03be1db6637ac096a56bec4bc77524191451bc45 (patch)
treea4b31e6e6d6abcd76b7c4deffebe250a721f7afb
parent8286be28913ef3b93c6edacec15a01d7b23b1566 (diff)
downloadbuildroot-03be1db6637ac096a56bec4bc77524191451bc45.tar.gz
buildroot-03be1db6637ac096a56bec4bc77524191451bc45.tar.bz2
tpm2-abrmd: S80tpm2-abrmd: create pid file at startup
The start-stop-daemon invocation to start abrmd was missing the -m (make pidfile) option, causing stop to fail. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rwxr-xr-xpackage/tpm2-abrmd/S80tpm2-abrmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/tpm2-abrmd/S80tpm2-abrmd b/package/tpm2-abrmd/S80tpm2-abrmd
index cfa9d44771..6a0bef0a31 100755
--- a/package/tpm2-abrmd/S80tpm2-abrmd
+++ b/package/tpm2-abrmd/S80tpm2-abrmd
@@ -28,7 +28,7 @@ start() {
printf "Starting tpm2-abrmd: "
check_device
rm_stale_pidfile /var/run/tpm2-abrmd.pid /usr/sbin/tpm2-abrmd
- start-stop-daemon -S -q -o -b -p /var/run/tpm2-abrmd.pid -c tss:tss -x /usr/sbin/tpm2-abrmd -- ${DAEMON_OPTS} || {
+ start-stop-daemon -S -q -o -b -m -p /var/run/tpm2-abrmd.pid -c tss:tss -x /usr/sbin/tpm2-abrmd -- ${DAEMON_OPTS} || {
echo "FAIL"
exit 1
}