mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-11-15 08:47:26 +00:00
trousers: fix init script with multi-tpm systems
Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
This commit is contained in:
1 parent
b988150cf3
commit
5a3129c901
1 file changed
+1
-1
@@ -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