Ensure that all TLS certs are pinned after restore from backup

This commit is contained in:
Bob Mottram 2016-08-09 09:40:06 +01:00
parent b75495f9a2
commit 5ca65272b3
2 changed files with 1026 additions and 1020 deletions

View File

@ -722,6 +722,9 @@ restore_apps local
set_user_permissions
backup_unmount_drive
# ensure that all TLS certificates are pinned
${PROJECT_NAME}-pin-cert all
echo $"Restore from USB drive is complete. You can now unplug it."
exit 0

View File

@ -654,6 +654,9 @@ restore_email
restore_apps remote
set_user_permissions
# ensure that all TLS certificates are pinned
${PROJECT_NAME}-pin-cert all
echo $"*** Remote restore was successful ***"
exit 0