summaryrefslogtreecommitdiff
path: root/connd
diff options
context:
space:
mode:
Diffstat (limited to 'connd')
-rwxr-xr-xconnd10
1 files changed, 10 insertions, 0 deletions
diff --git a/connd b/connd
new file mode 100755
index 0000000..71a05f0
--- /dev/null
+++ b/connd
@@ -0,0 +1,10 @@
+#!/bin/bash
+tail -f mc.out &
+while true; do
+ read input
+ if [ "$input" == "quitd" ]; then
+ kill %1
+ exit
+ fi
+ echo $input >> mc.in
+done