gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

gnunet-logread-ipc (276B)


      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"