blob: 7aba5a32ede62e8a07a82c71c88674ccd18f911d [file] [log] [blame]
Valerio Settif67ded32024-06-27 08:03:32 +02001#!/bin/bash
2
3# Copyright The Mbed TLS Contributors
4# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
5
6set -e
7
8pkill psa_server || true
9
10# Remove temporary files and logs
Ronald Cronc04c2ed2024-07-22 08:48:17 +020011rm -f psa_notify_*
12rm -f psa_service_*
Valerio Settif67ded32024-06-27 08:03:32 +020013rm -f psa_server.log
14
15# Remove all IPCs
16ipcs -q | awk '{ printf " -q " $2 }' | xargs ipcrm > /dev/null 2>&1 || true