Magellan Linux

Contents of /trunk/nxserver-freenx/patches/nxserver-freenx-0.7.3-agent-version.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1796 - (show annotations) (download)
Tue Jun 5 11:54:30 2012 UTC (11 years, 10 months ago) by niro
File size: 1205 byte(s)
-added more patches
1 diff -up freenx-server-0.7.3/nxloadconfig~ freenx-server-0.7.3/nxloadconfig
2 --- freenx-server-0.7.3/nxloadconfig~ 2012-06-02 12:17:42.047048177 +0300
3 +++ freenx-server-0.7.3/nxloadconfig 2012-06-02 12:18:24.328442091 +0300
4 @@ -672,8 +672,8 @@ then
5 [ -z $(echo "$ENABLE_ROOTLESS_MODE" | egrep "^[0|1]$") ] && \
6 ERROR="yes" && echo "Error: Invalid value \"ENABLE_ROOTLESS_MODE=$ENABLE_ROOTLESS_MODE\""
7
8 - [ -z "$(strings $COMMAND_NXAGENT | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2.[01].0|NXAGENT - Version 3.[0123].0')" ] && \
9 - WARNING="yes" && echo "Error: Could not find 1.5.0 or 2.[01].0 or 3.[0123].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[0123].0 backend is needed for this version of FreeNX."
10 + [ -z "$(strings $COMMAND_NXAGENT | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2.[01].0|NXAGENT - Version 3.[012345].0')" ] && \
11 + WARNING="yes" && echo "Error: Could not find 1.5.0 or 2.[01].0 or 3.[012345].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012345].0 backend is needed for this version of FreeNX."
12
13 [ -z $(echo "$ENABLE_USESSION" | egrep "^[0|1]$") ] && \
14 ERROR="yes" && echo "Error: Invalid value \"ENABLE_USESSION=$ENABLE_USESSION\""