diff options
Diffstat (limited to 'contrib/logread-ipc.sh')
-rwxr-xr-x | contrib/logread-ipc.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/logread-ipc.sh b/contrib/logread-ipc.sh new file mode 100755 index 000000000..a986c629f --- /dev/null +++ b/contrib/logread-ipc.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | ipc=${1:-/tmp/gnunet-logread-ipc.sock} | ||
4 | test -e "$ipc" || mkfifo "$ipc" | ||
5 | cat "$ipc" | ||