Login
Register
Questions
Unanswered
Tags
Categories
Users
Ask a Question
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.12.3 available
The official documentation can be found on
https://wiki.ocsinventory-ng.org
. Read it before asking your question.
Categories
All categories
OCS Inventory NG server
(2.5k)
OCS Inventory NG agent
(1.5k)
OCS Inventory NG agent for Unix
(396)
OCS Inventory NG agent for Windows
(1k)
OCS Inventory NG agent for MacOS X
(79)
OCS Inventory NG agent for Android
(29)
OCS Inventory NG plugins
(60)
Network features
(138)
Developers
(128)
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.
ocs-mac-agent
ocs-agent
code
asked
Feb 8, 2023
in
OCS Inventory NG agent for MacOS X
by
UA4146
(
260
points)
Share on
share on gp
share on fb
share on tw
share on li
Please
log in
or
register
to answer this question.
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
answered
Feb 16, 2023
by
frankb
(
90.4k
points)
Please
log in
or
register
to add a comment.
Powered by
Question2Answer
...