Facing a strange issue:
When I execute script manually, it sets global variable and it is visible in environment.
When script is executed via dhcp-client and admin is logged in, global variable is set and it is visible in environment.
When no-one is logged in and dhcp-client executes script, global variable is not set and also previously set (by manual or admin-logged in run) global variable disappears?
Catch is, that script checks global variable before performing action to determine, if perform it or not.
Currently it runs all the time when dhcp-server renews lease.
Script in question is here: viewtopic.php?f=9&t=136104#p714817
Any clues, why it is so (is it a bug or feature) and how to make it work properly?
ROS is latest stable 6.43.12, platform is RB4011