summaryrefslogtreecommitdiffstats
path: root/noise-as-shack
diff options
context:
space:
mode:
authorroot <root@shack.(none)>2010-05-07 02:01:02 +0200
committerroot <root@shack.(none)>2010-05-07 02:01:02 +0200
commit81344217c8a54e46d7cfc38466303d046e08e77f (patch)
tree005d11f950a777331f2222c06a0477543d4def2c /noise-as-shack
parentcb2ffed83727b2d20d9d0a71bf55adc96c168e62 (diff)
noise: write /set'ed variables to $env
Additionally: - Export $TCPREMOTIP to noise and modules. - Hardwired $HOME in noise. ;-) - Read ~% as Newline.
Diffstat (limited to 'noise-as-shack')
-rwxr-xr-xnoise-as-shack2
1 files changed, 1 insertions, 1 deletions
diff --git a/noise-as-shack b/noise-as-shack
index c327bb81..10ae3c1c 100755
--- a/noise-as-shack
+++ b/noise-as-shack
@@ -1,4 +1,4 @@
#! /bin/sh
qname="`readlink -f "$0"`"
dirname="`dirname "$qname"`"
-exec su - shack -c "$dirname"/noise
+exec su - shack -c "env -i TCPREMOTEIP=\"$TCPREMOTEIP\" \"$dirname/noise\""