add simple lcdproc wrapper for Lanner/Watchguard Firebox equipment

This commit is contained in:
Ad Schellevis
2018-03-23 15:39:36 +01:00
parent b36721d8b7
commit 132d96fa4a
5 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
/usr/local/etc/rc.syshook.d/50-lcdproc-sdeclcd.start

View File

@@ -0,0 +1,7 @@
PLUGIN_NAME= lcdproc-sdeclcd
PLUGIN_VERSION= 0.1
PLUGIN_COMMENT= LCDProc for SDEC LCD devices
PLUGIN_DEPENDS= lcdproc
PLUGIN_MAINTAINER= ad@opnsense.org
.include "../../Mk/plugins.mk"

View File

@@ -0,0 +1 @@
LCDproc setup for SDEC LCD devices found in Watchguard FireBox firewall appliances.

View File

@@ -0,0 +1,26 @@
[server]
DriverPath=/usr/local/lib/lcdproc/
Driver=sdeclcd
Bind=127.0.0.1
Port=13666
ReportToSyslog=yes
User=nobody
Foreground=no
Hello=" Welcome to"
Hello=" OPNsense!"
GoodBye="Thanks for using"
GoodBye=" OPNsense!"
WaitTime=5
ServerScreen=on
Backlight=on
PrevScreenKey=Down
NextScreenKey=Up
[menu]
MenuKey=Left
EnterKey=Right
UpKey=Up
DownKey=Down
[sdeclcd]
# No options

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# kill lcdproc when running
killall lcdproc >/dev/null 2>&1
killall LCDd >/dev/null 2>&1
# exec lcd proc daemon and client
/usr/local/sbin/LCDd -c /usr/local/etc/LCDd-sdeclcd.conf
/usr/local/bin/lcdproc -s 127.0.0.1 -p 13666 C M D L