summaryrefslogtreecommitdiff
path: root/data/templates/system-display/lcdproc.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-13 18:31:08 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-15 15:02:00 +0000
commitb082a6fb211ef19d75c4c81414be9aa1b9248b45 (patch)
tree85ee394234198a669c4be22cc97f1e2f3ab5050b /data/templates/system-display/lcdproc.conf.tmpl
parent8efb8ba1efa9d51ec376bac0bfcb48cf200447a9 (diff)
downloadvyos-1x-b082a6fb211ef19d75c4c81414be9aa1b9248b45.tar.gz
vyos-1x-b082a6fb211ef19d75c4c81414be9aa1b9248b45.zip
lcd: T2564: flatten CLI interface
* set system lcd device <device> * set system lcd model <modeml> Both device and model have completion helpers for supported interfaces and LCD displays.
Diffstat (limited to 'data/templates/system-display/lcdproc.conf.tmpl')
-rw-r--r--data/templates/system-display/lcdproc.conf.tmpl173
1 files changed, 0 insertions, 173 deletions
diff --git a/data/templates/system-display/lcdproc.conf.tmpl b/data/templates/system-display/lcdproc.conf.tmpl
deleted file mode 100644
index 92aee8efe..000000000
--- a/data/templates/system-display/lcdproc.conf.tmpl
+++ /dev/null
@@ -1,173 +0,0 @@
-### autogenerated by system-display.py ###
-
-# system display show host (CPU|SMP-CPU|CPU-Graph|Load|Memory|Proc-Size|Disk|Uptime)
-# network interface <intName> alias <alias>
-# units (bps|Bps|pps)
-# clock (big|mini|date-time)
-
-# LCDproc client configuration file
-
-## general options ##
-[lcdproc]
-# address of the LCDd server to connect to
-Server=127.0.0.1
-
-# Port of the server to connect to
-Port=13666
-
-# set reporting level
-#ReportLevel=2
-
-# report to to syslog ?
-ReportToSyslog=true
-
-# run in foreground [default: false; legal: true, false]
-#Foreground=true
-
-# PidFile location when running as daemon [default: /var/run/lcdproc.pid]
-#PidFile=/var/run/lcdproc.pid
-
-# slow down initial announcement of modes (in 1/100s)
-#delay=2
-
-
-## screen specific configuration options ##
-{%- if show %}
-# display name for the main menu [default: LCDproc HOST]
-DisplayName="{%- if show['title'] %}{{ show['title'] }}{%- else %}VyOS{%- endif %}"
-
-{%- if show['host'] %}
-
-[CPU]
-# Show screen
-Active={%- if 'cpu' in show['host'] %}true{%- else %}false{%- endif %}
-OnTime=1
-OffTime=2
-ShowInvisible=false
-
-[SMP-CPU]
-# Show screen
-Active={%- if 'cpu-all' in show['host'] %}true{%- else %}false{%- endif %}
-
-[Memory]
-# Show screen
-Active={%- if 'memory' in show['host'] %}true{%- else %}false{%- endif %}
-
-[Load]
-# Show screen
-Active={%- if 'load-hist' in show['host'] %}true{%- else %}false{%- endif %}
-# Min Load Avg at which the backlight will be turned off [default: 0.05]
-LowLoad=0.05
-# Max Load Avg at which the backlight will start blinking [default: 1.3]
-HighLoad=1.3
-
-[Uptime]
-# Show screen
-Active={%- if 'uptime' in show['host'] %}true{%- else %}false{%- endif %}
-
-[CPUGraph]
-# Show screen
-Active={%- if 'cpu-hist' in show['host'] %}true{%- else %}false{%- endif %}
-
-[ProcSize]
-# Show screen
-Active={%- if 'proc' in show['host'] %}true{%- else %}false{%- endif %}
-
-[Disk]
-# Show screen
-Active={%- if 'disk' in show['host'] %}true{%- else %}false{%- endif %}
-{%- else %} {# if show['host'] #}
-{# Turn off sections that default active #}
-
-[CPU]
-Active=false
-
-[Memory]
-Active=false
-
-[Load]
-Active=false
-
-{%- endif %} {# if show['host'] #}
-
-[TimeDate]
-# Show screen
-Active={%- if show['clock'] == 'date-time' %}true{%- else %}false{%- endif %}
-# time format [default: %H:%M:%S; legal: see strftime(3)]
-TimeFormat="%H:%M:%S"
-# date format [default: %x; legal: see strftime(3)]
-DateFormat="%x"
-
-[BigClock]
-# Show screen
-Active={%- if show['clock'] == 'big' %}true{%- else %}false{%- endif %}
-
-[MiniClock]
-# Show screen
-Active={%- if show['clock'] == 'mini' %}true{%- else %}false{%- endif %}
-# time format [default: %H:%M; legal: see strftime(3)]
-TimeFormat="%H:%M"
-
-{%- if show['network'] %}
-[Iface]
-# Show screen
-Active={%- if show['network']['interface'] %}true{%- else %}false{%- endif %}
-{%- for i in show['network']['interface'] %}
-# Show stats for Interface {{ i }}
-Interface{{ loop.index0 }}={{ i }}
-{%- if show['network']['interface'][i]['alias'] %}
-# Interface alias name to display [default: <interface name>]
-Alias{{ loop.index0 }}={{ show['network']['interface'][i]['alias'] }}
-{%- endif %}
-{%- endfor %}
-
-# Units to display [default: byte; legal: byte, bit, packet]
-{%- if show['network']['units'] == 'bps' %}
-unit=bit
-{%- elif show['network']['units'] == 'Bps'%}
-unit=byte
-{%- elif show['network']['units'] == 'pps' %}
-unit=packet
-{%- else %}
-unit=bit
-{%- endif %}
-# add screen with transferred traffic
-#transfer=TRUE
-{%- endif %} {# if show['network'] #}
-
-{%- else %}{# if show #}
-{# Turn off sections that default active #}
-
-[CPU]
-Active=false
-
-[Memory]
-Active=false
-
-[Load]
-Active=false
-
-[TimeDate]
-Active=false
-{%- endif %}{# if show #}
-
-[Battery]
-# Show screen
-Active=false
-
-[About]
-# Show screen
-Active=false
-
-[OldTime]
-# Show screen
-Active=false
-# time format [default: %H:%M:%S; legal: see strftime(3)]
-TimeFormat="%H:%M:%S"
-# date format [default: %x; legal: see strftime(3)]
-DateFormat="%x"
-# Display the title bar in two-line mode. Note that with four lines or more
-# the title is always shown. [default: true; legal: true, false]
-#ShowTitle=false
-
-# EOF