-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add simple lcdproc wrapper for Lanner/Watchguard Firebox equipment
- Loading branch information
1 parent
b36721d
commit 132d96f
Showing
5 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /usr/local/etc/rc.syshook.d/50-lcdproc-sdeclcd.start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
9 changes: 9 additions & 0 deletions
9
sysutils/lcdproc-sdeclcd/src/etc/rc.syshook.d/50-lcdproc-sdeclcd.start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
|
|