summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfmertz <fireboxled@gmail.com>2020-06-29 14:45:57 +0000
committerfmertz <fireboxled@gmail.com>2020-07-05 14:57:52 +0000
commitd4199a17adeac422882013a8951d18b7c3b74f2a (patch)
tree5244cc23890c2872921467aaf094a1c7bb57b75f
parent440d0fb1115bbfb428132ef91804ae213ffca30f (diff)
downloadvyos-1x-d4199a17adeac422882013a8951d18b7c3b74f2a.tar.gz
vyos-1x-d4199a17adeac422882013a8951d18b7c3b74f2a.zip
system display: T2564: Changed "duration" to "time"
* data/templates/system-display/LCDd.conf.tmpl duration to time * interface-definitions/system-display.xml.in duration to time
-rw-r--r--data/templates/system-display/LCDd.conf.tmpl2
-rw-r--r--interface-definitions/system-display.xml.in8
2 files changed, 5 insertions, 5 deletions
diff --git a/data/templates/system-display/LCDd.conf.tmpl b/data/templates/system-display/LCDd.conf.tmpl
index 8079dcb76..0ef796c76 100644
--- a/data/templates/system-display/LCDd.conf.tmpl
+++ b/data/templates/system-display/LCDd.conf.tmpl
@@ -92,7 +92,7 @@ GoodBye="{%- if bye %}{{ bye }}{%- else %}Bye from VyOS{%- endif %}"
#FrameInterval=125000
# Sets the default time in seconds to displays a screen. [default: 4]
-WaitTime={%- if duration %}{{ duration }}{%- else%}4{%- endif %}
+WaitTime={%- if time %}{{ time }}{%- else%}4{%- endif %}
# If set to no, LCDd will start with screen rotation disabled. This has the
# same effect as if the ToggleRotateKey had been pressed. Rotation will start
diff --git a/interface-definitions/system-display.xml.in b/interface-definitions/system-display.xml.in
index afa6dba10..0439288a0 100644
--- a/interface-definitions/system-display.xml.in
+++ b/interface-definitions/system-display.xml.in
@@ -8,7 +8,7 @@
clock (big|mini|date-time)
title <name>
- system display duration <s>
+ system display time <s>
system display hello <string>
system display bye <string>
system display disabled
@@ -191,8 +191,8 @@
</leafNode><!--system display show title-->
</children>
</node><!--system display show-->
- <!-- system display duration -->
- <leafNode name="duration">
+ <!-- system display time -->
+ <leafNode name="time">
<properties>
<help>Time in sec to show each screen on the system display</help>
<valueHelp>
@@ -203,7 +203,7 @@
<validator name="numeric" argument="--range 1-30"/>
</constraint>
</properties>
- </leafNode><!--system display duration-->
+ </leafNode><!--system display time-->
<!-- system display hello -->
<leafNode name="hello">
<properties>