#!/bin/sh
#
# A simple shell script is capable as an interface too
#

PROG=`basename $0`
# logger -p local5.info "$PROG: List: 1=$1 2=$2 3=$3 4=$4 5=$5 6=$6"

MYCALL=$1; shift
PORT=$1 ; shift
DIGILIST="$*"

read conn
set -- $conn
logger -p local5.info "$PROG: /usr/sbin/ax25_call $PORT $MYCALL $3 $DIGILIST"
exec /usr/sbin/ax25_call $PORT $4 $3 $DIGILIST
