mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-01-12 01:00:15 +00:00
trousers: fix init script with multi-tpm systems
Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
This commit is contained in:
committed by
Jia Zhang
parent
b988150cf3
commit
5a3129c901
@@ -27,7 +27,7 @@ case "${1}" in
|
||||
start)
|
||||
echo "Starting $DESC: "
|
||||
|
||||
if [ ! -e /dev/tpm* ]
|
||||
if ! ls /dev/tpm* >/dev/null 2>&1
|
||||
then
|
||||
echo "device driver not loaded, skipping."
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user