#!/bin/sh
# UNIX bind -> allow/bnet+PATH

which socat >/dev/null 2>&1 || exit 77
TD="$1"
S=$TD/t012.sock
rm -f "$S"
socat UNIX-LISTEN:"$S" /dev/null &
P=$!
sleep 0.1
kill $P 2>/dev/null
wait $P 2>/dev/null
rm -f "$S"
exit 0
