Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193031 - net-misc/nxserver-freenx-0.7.0-r1 - bad syntax in /usr/bin/nxnode
Summary: net-misc/nxserver-freenx-0.7.0-r1 - bad syntax in /usr/bin/nxnode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: NX Server Herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 08:26 UTC by Alastair Burt
Modified: 2007-09-20 14:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Burt 2007-09-19 08:26:51 UTC
I had to change 



Reproducible: Always
Comment 1 Alastair Burt 2007-09-19 08:30:55 UTC
Package: net-misc/nxserver-freenx-0.7.0-r1

In file /usr/bin/nxnode, I had to change

node_start_monitor()
{
        [ "$ENABLE_2_0_0_BACKEND" = "1" || "$ENABLE_3_0_0_BACKEND" = "1" ] && node_start_monitor_2_0_0 "$@"
        [ "$ENABLE_2_0_0_BACKEND" = "1" || "$ENABLE_3_0_0_BACKEND" = "1" ] || node_start_monitor_1_5_0 "$@"
}

to:

node_start_monitor()
{
        [ "$ENABLE_2_0_0_BACKEND" = "1" -o "$ENABLE_3_0_0_BACKEND" = "1" ] && node_start_monitor_2_0_0 "$@"
        [ "$ENABLE_2_0_0_BACKEND" = "1" -o "$ENABLE_3_0_0_BACKEND" = "1" ] || node_start_monitor_1_5_0 "$@"
}
Comment 2 Bernard Cafarelli gentoo-dev 2007-09-19 15:34:57 UTC
Fixed in CVS, thanks!