Skip to content

Commit

Permalink
add simple lcdproc wrapper for Lanner/Watchguard Firebox equipment
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Mar 23, 2018
1 parent b36721d commit 132d96f
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions sysutils/lcdproc-sdeclcd/+POST_INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/local/etc/rc.syshook.d/50-lcdproc-sdeclcd.start
7 changes: 7 additions & 0 deletions sysutils/lcdproc-sdeclcd/Makefile
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions sysutils/lcdproc-sdeclcd/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LCDproc setup for SDEC LCD devices found in Watchguard FireBox firewall appliances.
26 changes: 26 additions & 0 deletions sysutils/lcdproc-sdeclcd/src/etc/LCDd-sdeclcd.conf
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 132d96f

Please sign in to comment.