entd: Removed dependency on PRIVATE_ROOT_KEY.pem which will no longer be created.
BUG=chromium-os:19256
TEST=Login without pem files.
Change-Id: I186c4d2886ede9b42258f0b521bf844a8aef4f60
Reviewed-on: http://gerrit.chromium.org/gerrit/6340
Tested-by: Darren Krahn <dkrahn@chromium.org>
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
diff --git a/bin/fix_pkcs11_token.sh b/bin/fix_pkcs11_token.sh
index 2f080f4..2f1c15f 100755
--- a/bin/fix_pkcs11_token.sh
+++ b/bin/fix_pkcs11_token.sh
@@ -31,7 +31,7 @@
return 0
fi
- if [ ! -e "$USER_TOKEN_DIR/PRIVATE_ROOT_KEY.pem" -o \
+ if [ ! -e "$USER_TOKEN_DIR/NVTOK.DAT" -o \
! -e "$USER_TOKEN_DIR/TOK_OBJ/70000000" ]; then
log "PKCS#11 token for $USERNAME is missing some files. Possibly not yet"
log "initialized? TOK_OBJ contents were $(echo $USER_TOKEN_DIR/TOK_OBJ/*)."