Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Purpose of Generic folder in the Backend/OS

Just wanted to confirm the purpose of 'Generic' in OS folder for Backend modules in OCS inventory Unix Agent code (https://github.com/OCSInventory-NG/UnixAgent/tree/master/lib/Ocsinventory/Agent/Backend/OS/Generic). I think this is for the OSes which do not have been specifically defined in the OS folder to get some sort of information from them if possible.

Basically I wanted to extend some functionality for MacOS agent on my end (getting usb devices using system_profiler). I am putting this in the MacOS folder but before that just wanted to confirm the purpose of Generic folder in Backend/OS.
in OCS Inventory NG agent for MacOS X by (260 points)

1 Answer

0 votes
lib/Ocsinventory/Agent/Backend/OS/Generic folder contains common functions for Unix.

For MacOS agent put your perl script into Agent/Backend/OS/MacOS folder.

Regards
by (88.5k points)
 
Powered by Question2Answer
...