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/etc | |
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/etc')
-rw-r--r-- | src/etc/systemd/system/LCDd.service.d/override.conf | 8 | ||||
-rw-r--r-- | src/etc/systemd/system/hostapd@.service.d/override.conf | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/src/etc/systemd/system/LCDd.service.d/override.conf b/src/etc/systemd/system/LCDd.service.d/override.conf new file mode 100644 index 000000000..5f3f0dc95 --- /dev/null +++ b/src/etc/systemd/system/LCDd.service.d/override.conf @@ -0,0 +1,8 @@ +[Unit] +After= +After=vyos-router.service + +[Service] +ExecStart= +ExecStart=/usr/sbin/LCDd -c /run/LCDd/LCDd.conf + diff --git a/src/etc/systemd/system/hostapd@.service.d/override.conf b/src/etc/systemd/system/hostapd@.service.d/override.conf index bb8e81d7a..b03dbc299 100644 --- a/src/etc/systemd/system/hostapd@.service.d/override.conf +++ b/src/etc/systemd/system/hostapd@.service.d/override.conf @@ -3,8 +3,7 @@ After= After=vyos-router.service [Service] -WorkingDirectory=/run/hostapd -EnvironmentFile= +WorkingDirectory=/run/LCDd ExecStart= -ExecStart=/usr/sbin/hostapd -B -P /run/hostapd/%i.pid /run/hostapd/%i.conf -PIDFile=/run/hostapd/%i.pid +ExecStart=/usr/sbin/LCDd -s 1 -f -c /run/LCDd/LCDd.conf + |