1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/gnrc_dhcpv6_client: inform user about TMPDIR

This commit is contained in:
Martine Lenders 2021-09-07 14:55:27 +02:00
parent 4c9547b388
commit 012b62b96e
No known key found for this signature in database
GPG Key ID: 2134D77A5336DD80

View File

@ -31,6 +31,7 @@ _dhcpv6_server() {
# still need to create the directory
mkdir -p "${TMPDIR}"
echo "Running kea-dhcpv6 in data directory ${TMPDIR}"
if [ -f "${TMPDIR}/kea-dhcp6.kea-dhcp6.pid" ]; then
# Kill Kea instance from potential previous run:w
kill "$(cat "${TMPDIR}/kea-dhcp6.kea-dhcp6.pid")"