Magellan Linux

Contents of /trunk/nx/nxwrapper

Parent Directory Parent Directory | Revision Log Revision Log


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