diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-13 22:54:23 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-13 22:55:46 +0200 |
commit | 52cbc585cda8d7b9d73cd531e7e6ae3a98dc7d56 (patch) | |
tree | 08aa5a32732f27f341de3fab658a277585817775 /data/templates/lcd/LCDd.conf.tmpl | |
parent | 8aa7607113316a425751a442d4c3d1256c7dc8aa (diff) | |
download | vyos-1x-52cbc585cda8d7b9d73cd531e7e6ae3a98dc7d56.tar.gz vyos-1x-52cbc585cda8d7b9d73cd531e7e6ae3a98dc7d56.zip |
lcd: T4333: migrate to new vyos_defined Jinja2 test
Diffstat (limited to 'data/templates/lcd/LCDd.conf.tmpl')
-rw-r--r-- | data/templates/lcd/LCDd.conf.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/lcd/LCDd.conf.tmpl b/data/templates/lcd/LCDd.conf.tmpl index 2c7ad920f..2c8c6602d 100644 --- a/data/templates/lcd/LCDd.conf.tmpl +++ b/data/templates/lcd/LCDd.conf.tmpl @@ -48,7 +48,7 @@ DriverPath=/usr/lib/x86_64-linux-gnu/lcdproc/ # sed1520, serialPOS, serialVFD, shuttleVFD, sli, stv5730, svga, t6963, # text, tyan, ula200, vlsys_m428, xosd, yard2LCD -{% if model is defined %} +{% if model is vyos_defined %} {% if model.startswith('cfa-') %} Driver=CFontzPacket {% elif model == 'sdec' %} @@ -115,7 +115,7 @@ Heartbeat=off # set title scrolling speed [default: 10; legal: 0-10] TitleSpeed=10 -{% if model is defined and model is not none %} +{% if model is vyos_defined %} {% if model.startswith('cfa-') %} ## CrystalFontz packet driver (for CFA533, CFA631, CFA633 & CFA635) ## [CFontzPacket] |