aboutsummaryrefslogtreecommitdiff
path: root/contrib/scripts/gnunet-logread/gnunet-logread-ipc
blob: 72f9f47df5da9a3488e447cd237de8e5fa575fc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# Usage: gnunet-logread-ipc | gnunet-logread
#
# ... obsoleted by gnunet-logread's new -f option that does the same thing

# FIXME: Replace /tmp with our use of $TMPDIR and similar.
ipc=${1:-/tmp/gnunet-logread-ipc.sock}
test -e "$ipc" || mkfifo "$ipc"
cat "$ipc"