diff options
-rw-r--r-- | data/templates/system-display/LCDd.conf.tmpl | 6 | ||||
-rw-r--r-- | interface-definitions/system-display.xml.in | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/data/templates/system-display/LCDd.conf.tmpl b/data/templates/system-display/LCDd.conf.tmpl index 0b605e09d..8079dcb76 100644 --- a/data/templates/system-display/LCDd.conf.tmpl +++ b/data/templates/system-display/LCDd.conf.tmpl @@ -52,11 +52,11 @@ DriverPath=/usr/lib/x86_64-linux-gnu/lcdproc/ # Olimex_MOD_LCD1x9, picolcd, pyramid, rawserial, sdeclcd, sed1330, # sed1520, serialPOS, serialVFD, shuttleVFD, sli, stv5730, svga, t6963, # text, tyan, ula200, vlsys_m428, xosd, yard2LCD -{%- if model == 'SDEC' %} +{%- if model == 'sdec' %} Driver=sdeclcd {%- endif %} -{%- if model == 'EZIO' %} +{%- if model == 'ezio' %} Driver=hd44780 {%- endif %} @@ -544,7 +544,7 @@ Speed=19200 ## Hitachi HD44780 driver ## [hd44780] -{%- if model == 'EZIO' %} +{%- if model == 'ezio' %} ConnectionType=ezio Device=/dev/ttyS1 Keypad=yes diff --git a/interface-definitions/system-display.xml.in b/interface-definitions/system-display.xml.in index 7a5cf9283..ac9f17b6c 100644 --- a/interface-definitions/system-display.xml.in +++ b/interface-definitions/system-display.xml.in @@ -1,7 +1,7 @@ <?xml version="1.0"?> <interfaceDefinition> <!-- - system display model (SDEC|EZIO) + system display model (sdec|ezio) system display config (enabled|disabled) system display show host (cpu|cpu-all|cpu-hist|disk|load-hist|memory|proc|uptime) network interface <intName> alias <alias> @@ -21,23 +21,23 @@ <priority>400</priority> </properties> <children> - <!-- system display model (SDEC|EZIO) --> + <!-- system display model (sdec|ezio) --> <leafNode name="model"> <properties> <help>Model of the display attached to this system [REQUIRED]</help> <completionHelp> - <list>SDEC EZIO</list> + <list>sdec ezio</list> </completionHelp> <constraint> - <regex>(SDEC|EZIO)</regex> + <regex>(sdec|ezio)</regex> </constraint> <constraintErrorMessage>Invalid system display model</constraintErrorMessage> <valueHelp> - <format>SDEC</format> + <format>sdec</format> <description>Display model for Lanner, Watchguard, Nexcom NSA, Sophos UTM appliances with built-in SDEC LCD</description> </valueHelp> <valueHelp> - <format>EZIO</format> + <format>ezio</format> <description>Display model for Portwell, Caswell appliances with built-in EZIO-100 or EZIO-300 LCD</description> </valueHelp> </properties> |