#!/bin/sh # # Sendet eine Nachricht an den VDR if [ "$1" = "-d" ]; then shift echo -e "$@\nQUIT" | nc localhost 6419 1>/dev/null 2>&1 & else echo -e "$@\nQUIT" | nc localhost 6419 2>/dev/null fi