#!/bin/sh # Send a command to the running FXServer console, e.g. rcon status FIFO=${FIFO:-/run/fiverp.stdin} if [ ! -p "$FIFO" ]; then echo "server is not running (no console pipe at $FIFO)" >&2 exit 1 fi printf '%s\n' "$*" > "$FIFO"