From 81344217c8a54e46d7cfc38466303d046e08e77f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 7 May 2010 02:01:02 +0200 Subject: noise: write /set'ed variables to $env Additionally: - Export $TCPREMOTIP to noise and modules. - Hardwired $HOME in noise. ;-) - Read ~% as Newline. --- noise-as-shack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'noise-as-shack') 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\"" -- cgit v1.2.3