Contents of /trunk/nx/nxwrapper2.in
Parent Directory | Revision Log
Revision 2934 -
(show annotations)
(download)
Mon May 29 07:56:15 2017 UTC (7 years, 4 months ago) by niro
File size: 350 byte(s)
Mon May 29 07:56:15 2017 UTC (7 years, 4 months ago) by niro
File size: 350 byte(s)
-added new nxwrapper
1 | #!/bin/bash |
2 | |
3 | NXAPP=$(basename $0) |
4 | NX_LIBS=@@NXLIBDIR@@ |
5 | NX_LOCAL_LIBS=@@NXLOCALLIBDIR@@ |
6 | |
7 | # make sure nxagent starts properly with pam_tmpdir.so being in use |
8 | NX_TEMP=${NX_TEMP:-/tmp} |
9 | export NX_TEMP |
10 | |
11 | test -x $NX_LOCAL_LIBS/bin/$NXAPP && export NX_LIBS=$NX_LOCAL_LIBS |
12 | test -x $NX_LIBS/bin/$NXAPP && export NX_LIBS=$NX_LIBS |
13 | |
14 | exec $NX_LIBS/bin/$NXAPP "$@" |