diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-08-13 18:31:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-08-15 15:02:00 +0000 |
commit | b082a6fb211ef19d75c4c81414be9aa1b9248b45 (patch) | |
tree | 85ee394234198a669c4be22cc97f1e2f3ab5050b /src/systemd | |
parent | 8efb8ba1efa9d51ec376bac0bfcb48cf200447a9 (diff) | |
download | vyos-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 'src/systemd')
-rw-r--r-- | src/systemd/LCDd@.service | 10 | ||||
-rw-r--r-- | src/systemd/lcdproc.service | 13 | ||||
-rw-r--r-- | src/systemd/lcdproc@.service | 10 |
3 files changed, 13 insertions, 20 deletions
diff --git a/src/systemd/LCDd@.service b/src/systemd/LCDd@.service deleted file mode 100644 index a4604cf21..000000000 --- a/src/systemd/LCDd@.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=LCD display daemon on %I -Documentation=man:LCDd(8) http://www.lcdproc.org/ - -[Service] -User=root -ExecStart=/usr/sbin/LCDd -s 1 -f -c /run/LCDd/LCDd.%I.conf - -[Install] -WantedBy=multi-user.target
\ No newline at end of file diff --git a/src/systemd/lcdproc.service b/src/systemd/lcdproc.service new file mode 100644 index 000000000..5aa99ec78 --- /dev/null +++ b/src/systemd/lcdproc.service @@ -0,0 +1,13 @@ +[Unit] +Description=LCDproc system status information viewer on %I +Documentation=man:lcdproc(8) http://www.lcdproc.org/ +After=vyos-router.service +After=LCDd.service + +[Service] +User=root +ExecStart=/usr/bin/lcdproc -f -c /run/lcdproc/lcdproc.conf +PIDFile=/run/lcdproc/lcdproc.pid + +[Install] +WantedBy=multi-user.target diff --git a/src/systemd/lcdproc@.service b/src/systemd/lcdproc@.service deleted file mode 100644 index 9a1723dba..000000000 --- a/src/systemd/lcdproc@.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=LCDproc system status information viewer on %I -Documentation=man:lcdproc(8) http://www.lcdproc.org/ - -[Service] -User=root -ExecStart=/usr/bin/lcdproc -f -c /run/lcdproc/lcdproc.%I.conf - -[Install] -WantedBy=multi-user.target
\ No newline at end of file |