forked from freifunk-franken/simple-babelweb
remove unused file
This commit is contained in:
parent
8afc5446e2
commit
5a98cedb84
|
@ -1,21 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
[ $# != 1 ] && echo "parameter tmpfile missing!" && exit
|
|
||||||
tmpfile=$1
|
|
||||||
|
|
||||||
# bind babel-socket to FD3
|
|
||||||
exec 3<>/dev/tcp/::1/33123
|
|
||||||
|
|
||||||
# read and write data
|
|
||||||
cat <&3 > "$tmpfile" &
|
|
||||||
|
|
||||||
# write "dump" to sock
|
|
||||||
echo dump >&3
|
|
||||||
|
|
||||||
# Wait a moment and close FD3
|
|
||||||
sleep 0.1
|
|
||||||
exec 3<&-
|
|
||||||
|
|
||||||
# and clean up
|
|
||||||
pkill -P $$
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue