diff options
author | Mathieu Dubois-Briand <mbriand@witekio.com> | 2021-08-20 15:43:26 +0200 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2021-08-21 16:50:40 +0800 |
commit | 5a3129c9011ea63b42055debff549ec2e63122f8 (patch) | |
tree | a8965293a04b530dfa1a79c1dd90d551fdae9dfc | |
parent | b988150cf341cdcad4d6eee7c3648666996867b4 (diff) | |
download | meta-secure-core-5a3129c9011ea63b42055debff549ec2e63122f8.tar.gz |
trousers: fix init script with multi-tpm systems
Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
-rw-r--r-- | meta-tpm/recipes-tpm/trousers/files/trousers.init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-tpm/recipes-tpm/trousers/files/trousers.init.sh b/meta-tpm/recipes-tpm/trousers/files/trousers.init.sh index 0ecf7cc..bf02302 100644 --- a/meta-tpm/recipes-tpm/trousers/files/trousers.init.sh +++ b/meta-tpm/recipes-tpm/trousers/files/trousers.init.sh | |||
@@ -27,7 +27,7 @@ case "${1}" in | |||
27 | start) | 27 | start) |
28 | echo "Starting $DESC: " | 28 | echo "Starting $DESC: " |
29 | 29 | ||
30 | if [ ! -e /dev/tpm* ] | 30 | if ! ls /dev/tpm* >/dev/null 2>&1 |
31 | then | 31 | then |
32 | echo "device driver not loaded, skipping." | 32 | echo "device driver not loaded, skipping." |
33 | exit 0 | 33 | exit 0 |