summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_lcd.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-18 16:40:51 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-18 16:40:51 +0200
commitb1675e420479cd6b582c66c0902d6e326340658f (patch)
tree04bb06f117850da675f7678be6b80ecc2e522a6f /src/conf_mode/system_lcd.py
parentb9658cf8fa85d5d2bdc503d10340dc82c9c2a8c0 (diff)
downloadvyos-1x-b1675e420479cd6b582c66c0902d6e326340658f.tar.gz
vyos-1x-b1675e420479cd6b582c66c0902d6e326340658f.zip
lcd: T2564: add support for Lanner, Watchguard, Symantec boxes
Diffstat (limited to 'src/conf_mode/system_lcd.py')
-rwxr-xr-xsrc/conf_mode/system_lcd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/system_lcd.py b/src/conf_mode/system_lcd.py
index 0ad1318f0..31a09252d 100755
--- a/src/conf_mode/system_lcd.py
+++ b/src/conf_mode/system_lcd.py
@@ -41,6 +41,10 @@ def verify(lcd):
if not lcd:
return None
+ if 'model' in lcd and lcd['model'] in ['sdec']:
+ # This is a fixed LCD display, no device needed - bail out early
+ return None
+
if not {'device', 'model'} <= set(lcd):
raise ConfigError('Both device and driver must be set!')