mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-03 06:10:15 -05:00
add simple lcdproc wrapper for Lanner/Watchguard Firebox equipment
This commit is contained in:
1
sysutils/lcdproc-sdeclcd/+POST_INSTALL
Normal file
1
sysutils/lcdproc-sdeclcd/+POST_INSTALL
Normal file
@@ -0,0 +1 @@
|
||||
/usr/local/etc/rc.syshook.d/50-lcdproc-sdeclcd.start
|
||||
7
sysutils/lcdproc-sdeclcd/Makefile
Normal file
7
sysutils/lcdproc-sdeclcd/Makefile
Normal 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"
|
||||
1
sysutils/lcdproc-sdeclcd/pkg-descr
Normal file
1
sysutils/lcdproc-sdeclcd/pkg-descr
Normal file
@@ -0,0 +1 @@
|
||||
LCDproc setup for SDEC LCD devices found in Watchguard FireBox firewall appliances.
|
||||
26
sysutils/lcdproc-sdeclcd/src/etc/LCDd-sdeclcd.conf
Normal file
26
sysutils/lcdproc-sdeclcd/src/etc/LCDd-sdeclcd.conf
Normal 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
|
||||
9
sysutils/lcdproc-sdeclcd/src/etc/rc.syshook.d/50-lcdproc-sdeclcd.start
Executable file
9
sysutils/lcdproc-sdeclcd/src/etc/rc.syshook.d/50-lcdproc-sdeclcd.start
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user