Add a script to create a pipe
I should eventually work this into the main ocarina script somehow, but probably not until I get generic commands going. `ocarina openpipe` should do... Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
4c36e0b7e2
commit
e1c527c6e7
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
DEBUG=true
|
||||
|
||||
CONFIG=$XDG_CONFIG_HOME
|
||||
if [ "$CONFIG" == "" ]; then
|
||||
CONFIG="~/.config"
|
||||
fi
|
||||
CONFIG=$CONFIG/saria
|
||||
if [ $DEBUG == "true" ]; then
|
||||
CONFIG=$CONFIG-debug
|
||||
fi
|
||||
mkdir -p $CONFIG
|
||||
|
||||
if [ ! -f $CONFIG/saria.pipe ]; then
|
||||
mkfifo $CONFIG/saria.pipe
|
||||
fi
|
Loading…
Reference in New Issue