From 7ada2c0737e6f41a7de67a709a94fb2d27d723d3 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 13 Aug 2015 19:10:32 +0200 Subject: lcdproc-dev - code style fixes - Add missing copyright header - Fix permissions - Fix indentation/whitespace --- config/lcdproc-dev/lcdproc.xml | 199 ++++++++++++++++++++++++++++------------- 1 file changed, 135 insertions(+), 64 deletions(-) diff --git a/config/lcdproc-dev/lcdproc.xml b/config/lcdproc-dev/lcdproc.xml index 273aa1b1..bf002615 100644 --- a/config/lcdproc-dev/lcdproc.xml +++ b/config/lcdproc-dev/lcdproc.xml @@ -1,8 +1,53 @@ + + - Services: LCDproc 0.5.6 pkg v. 0.9.9 + + + Copyright (C) 2009 Scott Ullrich + Copyright (C) 2011 Michele Di Maria + Copyright (C) 2015 ESF, LLC + All rights reserved. +*/ +/* ====================================================================================== */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +*/ +/* ====================================================================================== */ + ]]> + + + + Services: LCDproc lcdproc - 0.9.12 + 0.9.13 Save /usr/local/pkg/lcdproc.inc @@ -18,29 +63,26 @@ LCDproc - Set LCDproc settings such as display driver and com port + Set LCDproc settings such as display driver and COM port.
Services
/pkg_edit.php?xml=lcdproc.xml&id=0
https://packages.pfsense.org/packages/config/lcdproc-dev/lcdproc.inc - /usr/local/pkg/ - 0755 + /usr/local/pkg/ https://packages.pfsense.org/packages/config/lcdproc-dev/lcdproc_screens.xml - /usr/local/pkg/ - 0755 + /usr/local/pkg/ https://packages.pfsense.org/packages/config/lcdproc-dev/lcdproc_client.php - /usr/local/pkg/ - 0755 + /usr/local/pkg/ https://files.pfsense.org/misc/nexcom.so - /usr/local/lib/lcdproc/ - 0755 + /usr/local/lib/lcdproc/ + 0755 lcdproc @@ -50,14 +92,14 @@ - Enable LCDproc at startup + Enable LCDproc enable checkbox comport - Com Port - Set the com port LCDproc should use. + COM Port + Set the COM port LCDproc should use. select + Serial COM port 1 (/dev/cua0) + + Serial COM port 2 alternate (/dev/cuau1) + + USB COM port 1 alternate (/dev/ugen0.2) + + USB COM port 4 alternate (/dev/ugen2.2) + ucom1 @@ -241,7 +283,7 @@ + + + + + + lcd2usb - + refresh_frequency Refresh frequency @@ -414,11 +456,16 @@ 5 - + port_speed Port speed - Set the port speed. Caution: not all the driver or panels support all the speeds, leave "default" if unsure. + + + Caution: not all the driver or panels support all the speeds, leave "default" if unsure. + ]]> + select + 0 brightness Brightness - Set the brightness of the LCD panel. This option is not supported by all the LCD panels, leave "default" if unsure. + + + This option is not supported by all the LCD panels, leave "default" if unsure. + ]]> + select + + + - + -1 offbrightness Off brightness - Set the off-brightness of the LCD panel. This value is used when the display is normally switched off in case LCDd is inactive. This option is not supported by all the LCD panels, leave "default" if unsure. + + + This option is not supported by all the LCD panels, leave "default" if unsure. + ]]> + select + + + - + -1 - + contrast Contrast - Set the contrast of the LCD panel. This option is not supported by all the LCD panels, leave "default" if unsure. + + + This option is not supported by all the LCD panels, leave "default" if unsure. + ]]> + select + + + - + -1 - + backlight Backlight - Set the backlight setting. If set to the default value, then the backlight setting of the display can be influenced by the clients. This option is not supported by all the LCD panels, leave "default" if unsure. + + + This option is not supported by all the LCD panels, leave "default" if unsure. + ]]> + select validate_form_lcdproc($_POST, $input_errors); -- cgit v1.2.3