mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-21 03:17:45 +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)
|
start)
|
||||||
echo "Starting $DESC: "
|
echo "Starting $DESC: "
|
||||||
|
|
||||||
if [ ! -e /dev/tpm* ]
|
if ! ls /dev/tpm* >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
echo "device driver not loaded, skipping."
|
echo "device driver not loaded, skipping."
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user