From cc95d6f89282c9d66120f2a9b40a9aaff2f981bb Mon Sep 17 00:00:00 2001
From: fmertz <fireboxled@gmail.com>
Date: Wed, 24 Jun 2020 16:25:21 +0000
Subject: system display: T2564 Extend VyOS to support appliance LCDs

Added support for system LCDs under CLI system display

+data/templates/system-display/LCDd.conf.tmpl template for LCDd server configuration file
+data/templates/system-display/lcdproc.conf.tmpl template for lcdproc client configuration file
+interface-definitions/system-display.xml.in CLI for system display
+src/conf_mode/system-display.py processing code for system display
+src/systemd/lcdproc.service systemd service definition file for lcdproc client

CLI:
    system display model (SDEC|EZIO)
    system display config (enabled|disabled)
    system display show host (cpu|cpu-all|cpu-hist|disk|load-hist|memory|proc|uptime)
                        network interface <intName> alias <alias>
                                units (bps|Bps|pps)
                        clock (big|mini|date-time)
                        title <name>

    system display duration <s>
    system display hello <string>
    system display bye <string>
---
 src/systemd/lcdproc.service | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 src/systemd/lcdproc.service

(limited to 'src/systemd')

diff --git a/src/systemd/lcdproc.service b/src/systemd/lcdproc.service
new file mode 100644
index 000000000..ea9178de9
--- /dev/null
+++ b/src/systemd/lcdproc.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=LCDproc system status information viewer
+Documentation=man:lcdproc(8) http://www.lcdproc.org/
+
+[Service]
+User=root
+ExecStart=/usr/bin/lcdproc -f -c /etc/lcdproc.conf
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file
-- 
cgit v1.2.3