trousers: remove the tpmc dependency in post-stop

Use a bash script to connect to the TPM directly, so we can get rid of
tpmc command in trousers.

BUG=b:179811538
TEST=restart tcsd, check it works correctly.

Change-Id: Ie2573a9ad079a704e9cda94109e89a0b0ee01d98
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/trousers/+/3083668
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Leo Lai <cylai@google.com>
Commit-Queue: Yi Chou <yich@google.com>
Tested-by: Yi Chou <yich@google.com>
1 file changed