summaryrefslogtreecommitdiffstats
path: root/noise-server
diff options
context:
space:
mode:
authortv <tv@also>2010-04-26 15:19:51 +0200
committertv <tv@also>2010-04-26 15:19:51 +0200
commit50aa02ccf1de40bc5f518d212a89c587c2b7d859 (patch)
tree87cebf2bf3a82d526e9f3bd3b3a2d3a965d57706 /noise-server
Rewrite of SHACK UTTERANCE 0.9 beta 1
Diffstat (limited to 'noise-server')
-rwxr-xr-xnoise-server7
1 files changed, 7 insertions, 0 deletions
diff --git a/noise-server b/noise-server
new file mode 100755
index 00000000..defe2f5b
--- /dev/null
+++ b/noise-server
@@ -0,0 +1,7 @@
+#! /bin/sh
+qname="`readlink -f "$0"`"
+dirname="`dirname "$qname"`"
+if test -d "$dirname/modules" ; then
+ export NOISE_PATH="${NOISE_PATH+$NOISE_PATH:}$dirname/modules"
+fi
+exec tcpserver -c 423 -t 2 -D 0.0.0.0 42380 "$dirname/noise"