diff options
Diffstat (limited to 'contrib/scripts/gnunet-logread/gnunet-logread-ipc')
-rwxr-xr-x | contrib/scripts/gnunet-logread/gnunet-logread-ipc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/scripts/gnunet-logread/gnunet-logread-ipc b/contrib/scripts/gnunet-logread/gnunet-logread-ipc new file mode 100755 index 000000000..72f9f47df --- /dev/null +++ b/contrib/scripts/gnunet-logread/gnunet-logread-ipc | |||
@@ -0,0 +1,10 @@ | |||
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" | ||