diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/lcdproc/lcdproc.inc | 6 | ||||
-rw-r--r-- | packages/lcdproc/lcdproc.xml | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/packages/lcdproc/lcdproc.inc b/packages/lcdproc/lcdproc.inc index d95dce84..e1a7b963 100644 --- a/packages/lcdproc/lcdproc.inc +++ b/packages/lcdproc/lcdproc.inc @@ -103,6 +103,9 @@ case "ucom2": continue; break; + case "lpt1": + continue; + break; default: $input_errors[] = "The chosen com port is not valid"; break; @@ -138,6 +141,9 @@ case "ucom2": $realport = "/dev/cuaU1"; break; + case "lpt1": + $realport = "/dev/lpt0"; + break; default: lcdproc_warn("The selected com port is not valid!"); return; diff --git a/packages/lcdproc/lcdproc.xml b/packages/lcdproc/lcdproc.xml index 26bdf6dc..feca8034 100644 --- a/packages/lcdproc/lcdproc.xml +++ b/packages/lcdproc/lcdproc.xml @@ -2,7 +2,7 @@ <packagegui> <title>Services: LCDproc</title> <name>lcdproc</name> - <version>0.5.2_1-p3</version> + <version>0.5.2_1-p4</version> <savetext>Save</savetext> <include_file>/usr/local/pkg/lcdproc.inc</include_file> <tabs> @@ -70,6 +70,10 @@ <value>ucom2</value> <name>USB Com port 2 (/dev/cuaU1)</name> </option> + <option> + <value>lpt1</value> + <name>Parallel port 1 (/dev/lpt0)</name> + </option> </options> <default_value>0</default_value> </field> |