diff options
author | fmertz <fireboxled@gmail.com> | 2020-06-28 20:36:19 +0000 |
---|---|---|
committer | fmertz <fireboxled@gmail.com> | 2020-07-05 14:57:52 +0000 |
commit | f3e0a409ee01e1b3ffa0c9a267434a7725f61231 (patch) | |
tree | 5d740a28a19428edca1a23e478fdcfe9986323f1 /src/conf_mode/system-display.py | |
parent | 3e8b6841db6ab803b898376754b469954d212cf7 (diff) | |
download | vyos-1x-f3e0a409ee01e1b3ffa0c9a267434a7725f61231.tar.gz vyos-1x-f3e0a409ee01e1b3ffa0c9a267434a7725f61231.zip |
system display: T2564: Replace "config (enabled|disabled)" with "display disabled"
* interface-definitions/system-display.xml.in system disply disabled
* src/conf_mode/system-display.py system display disabled
Diffstat (limited to 'src/conf_mode/system-display.py')
-rwxr-xr-x | src/conf_mode/system-display.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system-display.py b/src/conf_mode/system-display.py index 4db375d8e..e30d591cc 100755 --- a/src/conf_mode/system-display.py +++ b/src/conf_mode/system-display.py @@ -66,7 +66,7 @@ def verify(c): return None def apply(c): - if not c or c['config'] == 'disabled': + if not c or 'disabled' in c.keys(): # Stop client first run('systemctl stop lcdproc.service') # Stop server next |