Auth-fw will load 2.x password file created by security-server after
Tizen platform upgrade(2.4 -> 3.0). But 2.x password is different with
current password format. So I add postfix '.old' to 2.x password filename
to reconstruct old password format in auth-fw.
Refer to : https://review.tizen.org/gerrit/#/c/85385/
Change-Id: I7d6b3982f5c17c3143175e7819fa49ee9b6a53de
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
chmod 770 $AUTH_FW_DIR
chmod 700 $AUTH_FW_DIR/5001
if [ -d $SECURITY_SERVER_DIR ]; then
- mv $SECURITY_SERVER_DIR/* $AUTH_FW_DIR/5001
+ mv $SECURITY_SERVER_DIR/attempt $AUTH_FW_DIR/5001
+ mv $SECURITY_SERVER_DIR/password $AUTH_FW_DIR/5001/password.old
chmod 600 $AUTH_FW_DIR/5001/*
rm -r $SECURITY_SERVER_DIR
fi