Annotation of /trunk/nx/nxwrapper
Parent Directory | Revision Log
Revision 2381 -
(hide annotations)
(download)
Tue Jan 28 08:15:12 2014 UTC (10 years, 8 months ago) by niro
File size: 260 byte(s)
Tue Jan 28 08:15:12 2014 UTC (10 years, 8 months ago) by niro
File size: 260 byte(s)
-make sure nxagent starts properly with pam_tmpdir.so being in use
1 | niro | 153 | #!/bin/sh |
2 | |||
3 | NXCOMMAND=$(basename $0) | ||
4 | niro | 1799 | NXPREFIX=/usr/NX |
5 | niro | 153 | |
6 | niro | 2381 | # make sure nxagent starts properly with pam_tmpdir.so being in use |
7 | NX_TEMP=${NX_TEMP:-/tmp} | ||
8 | export NX_TEMP | ||
9 | |||
10 | niro | 1799 | export LD_LIBRARY_PATH=$NXPREFIX/lib:$LD_LIBRARY_PATH |
11 | exec $NXPREFIX/bin/$NXCOMMAND ${1+"$@"} |