1 2 3 4 5 6 7
#!/bin/sh NXCOMMAND=$(basename $0) export LD_LIBRARY_PATH=/usr/NX/lib:$LD_LIBRARY_PATH exec /usr/NX/bin/$NXCOMMAND ${1+"$@"}