diff options
author | root <root@krebs> | 2011-05-05 09:38:59 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-05-05 09:40:02 +0200 |
commit | 4b65c37645b6b72a0531fbbdb75310bf93ee99de (patch) | |
tree | cadbdc291b643977145351223cd86cadd4fea17c /modules/noise/noise-as-user | |
parent | de22a358dd7276cc2d818c99f08ff25997386c8f (diff) |
modules/noise: prepare for import to krebscode
Diffstat (limited to 'modules/noise/noise-as-user')
-rwxr-xr-x | modules/noise/noise-as-user | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/noise/noise-as-user b/modules/noise/noise-as-user new file mode 100755 index 00000000..15af5f03 --- /dev/null +++ b/modules/noise/noise-as-user @@ -0,0 +1,4 @@ +#! /bin/sh +qname="`readlink -f "$0"`" +dirname="`dirname "$qname"`" +exec sudo -u noise env -i TCPREMOTEIP="$TCPREMOTEIP" "$dirname/noise" |