See here:

CONFIGURATION_CHECKSUM="$WORKING_DIR/checksum"
TEST_CHECKSUM="$WORKING_DIR/test_checksum"

TEST_CHECKSUM is not the same checksum used to understand when it's time to 
download a new config.
The removal of the test checksum is done just to keep the in-memory 
filesystem in /tmp clean.
Moreover, If your custom script does not download the checksum but performs 
other checks it won't need to remove it.

I hope this clarifies.
Thanks
Fed


On Thursday, September 20, 2018 at 10:28:16 PM UTC+2, BlancLoup wrote:
>
> Hi.
> When we use custom test script instead perform_default_test() we must set 
> mandatory action: remove last checksum at /tmp/openwisp/checksum.
> Default test function preform it at 383 line.
> Otherwise agent will never update again (though we can change device 
> configuration at controller).
> In my mind it's part of common logic that independent from test 
> script/function.
> "rm $TEST_CHECKSUM" need to be setted at 352 line.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to