mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-05 21:15:09 +00:00
d9823616cf
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
18 lines
446 B
Bash
Executable File
18 lines
446 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Copyright The Mbed TLS Contributors
|
|
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
|
|
set -e
|
|
|
|
pkill psa_server || true
|
|
|
|
# Remove temporary files
|
|
rm -f psa_notify_*
|
|
|
|
# Remove all IPCs
|
|
# Not just ipcrm -all=msg as it is not supported on macOS.
|
|
# Filter out header and empty lines, choosing to select based on keys being
|
|
# output in hex.
|
|
ipcs -q | fgrep 0x | awk '{ printf " -q " $2 }' | xargs ipcrm > /dev/null 2>&1 || true
|