log.cgi 147 Bytes
Newer Older
Michel Roelofs's avatar
Michel Roelofs committed
1
#!/bin/bash
Jeroen Vreeken's avatar
Jeroen Vreeken committed
2
3
4
5
6

LOGHOST="localhost"
LOGPORT="11200"

(echo "Opening connection to controller"; cat | /usr/bin/nc $LOGHOST $LOGPORT ) | awk -f log.awk