Thanks a lot for our report but it is a strange behaviour you had because I can find any piece of code like the one you gave us in your report in the OCS Unix agent 1.1.2.1 :S :S. I take a look to the 1.1.2.1 source and it never integrated the /etc/sysconfig/ocsinventory-agent directory as a directory where the agent reads it configuration :S :S.
How does the 1.1.2 agent was installed ? Using source code ? Using a rpm package ? In which source file is the piece of code you gave us in your report ?
Anyway, integrate the /etc/sysconfig/ocsinventory-agent directory as a directory should be very easy to do. I attach a patch to integrarte the /etc/sysconfig/ocsinventory-agent/ as a configuration directory. This directory must include a configuration file named ocsinventory-agent.cfg . Tell us if this patch works for you.
Hi Matthias,
Thanks a lot for our report but it is a strange behaviour you had because I can find any piece of code like the one you gave us in your report in the OCS Unix agent 1.1.2.1 :S :S. I take a look to the 1.1.2.1 source and it never integrated the /etc/sysconfig/ ocsinventory- agent directory as a directory where the agent reads it configuration :S :S.
How does the 1.1.2 agent was installed ? Using source code ? Using a rpm package ? In which source file is the piece of code you gave us in your report ?
Anyway, integrate the /etc/sysconfig/ ocsinventory- agent directory as a directory should be very easy to do. I attach a patch to integrarte the /etc/sysconfig/ ocsinventory- agent/ as a configuration directory. This directory must include a configuration file named ocsinventory- agent.cfg . Tell us if this patch works for you.
Kind regards,
Guillaume