summaryrefslogtreecommitdiffstats
path: root/god/Reaktor
diff options
context:
space:
mode:
Diffstat (limited to 'god/Reaktor')
-rwxr-xr-xgod/Reaktor/index6
1 files changed, 4 insertions, 2 deletions
diff --git a/god/Reaktor/index b/god/Reaktor/index
index fdf6bffc..a7840bb2 100755
--- a/god/Reaktor/index
+++ b/god/Reaktor/index
@@ -27,11 +27,13 @@ fi
cd tmp/jsb-$jsb_version
# TODO only if it is not already configured properly
-sed -i '
+cache="`cat config/udp-send`"
+echo "$cache" |
+sed '
s/^host *=.*/host="'$host'"/
s/^passwd *=.*/passwd="'$passwd'"/
s/^printto *=.*/printto="'$printto'"/
-' config/udp-send
+' > config/udp-send
# TODO output modules: stderr, jsb-udp, remount-ro, ...
PYTHONUNBUFFERED=y $listener | tee /dev/stderr | bin/jsb-udp