mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Allow OS to define config highlighting (pfSense) (#10392)
* Update showconfig.inc.php Fix display for pfsense config files. * Update showconfig.inc.php Change from else if to elseif * Update showconfig.inc.php Decode special chars before syntax highlighting. * Update pfsense.yaml * Add config_highlighting device property Add config_highlighting to device definition Update showconfig.inc.php to use config_highlighting to set language. * Update showconfig.inc.php Fix incorrect code. Chose correct variable where config_highlighting is set. * Update os_schema.json Add property config_highlighting to schema - used for language highlighting when displaying the config file * Update showconfig.inc.php
This commit is contained in:
@@ -53,6 +53,9 @@
|
||||
"icon": {
|
||||
"type": "string"
|
||||
},
|
||||
"config_highlighting": {
|
||||
"type": "string"
|
||||
},
|
||||
"poller_modules": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user