Restructure contrib folder.
[oweals/gnunet.git] / contrib / scripts / gnunet-logread / gnunet-logread-ipc
1 #!/bin/sh
2 #
3 # Usage: gnunet-logread-ipc | gnunet-logread
4 #
5 # ... obsoleted by gnunet-logread's new -f option that does the same thing
6
7 # FIXME: Replace /tmp with our use of $TMPDIR and similar.
8 ipc=${1:-/tmp/gnunet-logread-ipc.sock}
9 test -e "$ipc" || mkfifo "$ipc"
10 cat "$ipc"