1 2 3 4
#! /bin/sh qname="`readlink -f "$0"`" dirname="`dirname "$qname"`" exec su noise -c "env -i TCPREMOTEIP='$TCPREMOTEIP' '$dirname/noise'"