55.2. Required Files

Every module has its own directory under the Webmin base directory, in which all the module's CGI programs and configuration files must be stored. For example, if the Webmin base was /usr/local/webmin-1.090, a module called foobar would be installed in /usr/local/webmin-1.090/foobar.

For a module to be displayed on the main Webmin menu, it should contain at least the following files (only module.info is mandatory):

images/icon.gif The icon displayed on the main menu for this module. The icon should be 48x48 pixels, and should use the same color scheme as the other icons on the main menu.

module.info This file contains information about the module and the operating systems under which it runs. Each line of the file is in the ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.