One little gem in retrieve_conf is the ability to run your own code after it is finished doing it’s thing.
If you set AMPLOCALBIN to the full path in amportal.conf the retrieve_conf will find a file retrieve_conf_post_custom and include it inline in retrieve_conf.
My syntax must be wrong because it doesn’t work.
In my exec("/var/www/html/panel/fixoppanel",$OUTLINE,$RETVAR); file
The code never executes:
If I add:
The exec below the include it works fine to I know that the basic syntax is correct.
Is something else needed in the include file? Has anyone ever tested this functionality?
For a bonus if someone can point me in the right direction to output the $OUTLINE variable in the status box on the web interface when ./retrienve_conf is running I would be most appreciative.
Contextual detail if needed: