#!/bin/bash # Test container entrypoint. PB_ROLE=target|client selects the role. set -eu ROLE=${PB_ROLE:-client} CONF=/etc/patchbay/patchbay.conf mkdir -p /etc/patchbay /shared if [ "$ROLE" = target ]; then if [ ! -f "$CONF" ]; then cat > "$CONF" < "$CONF" <