echo test fieldtest via udp $srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason ./nettester -tfield1 -iudp if [ "$?" -ne "0" ]; then exit 1 fi echo test fieldtest via tcp ./nettester -tfield1 -itcp if [ "$?" -ne "0" ]; then exit 1 fi