wifimedia / robin-dash

Automatically exported from code.google.com/p/robin-dash
0 stars 0 forks source link

Custom update is set to 1 instead of the value set on dashboard #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set the option "Use custom.sh" disabled on dashboard
2. Update the node manually
3.

What is the expected output? What do you see instead?
The received update file should have the option custom_update set to 0, but 
instead of this it's set to 1

What version of the product are you using? On what operating system?
Unrelevant

Please provide any additional information below, such as the network name,
and the Server URL (If not using the Hosted Version)
Unrelevant

FIX
I have modified the file "checkin-batman.php" to resolve the issue. Just change 
the line 480 which contains
enable.custom_update 1
to
enable.custom_update <?php echo $xmlp->management->custom_update . "\n"; ?>

Thanks

Original issue reported on code.google.com by alvaroma...@gmail.com on 12 Jan 2012 at 5:28

GoogleCodeExporter commented 8 years ago
This is so that we can push out any custom changes to the nodes that may be 
necessary. Think of it as a custom.sh proxy.

Original comment by c...@codycooper.co.nz on 13 Jan 2012 at 12:47

GoogleCodeExporter commented 8 years ago
But shouldn't it be selectable by user?

Original comment by alvaroma...@gmail.com on 13 Jan 2012 at 9:09