aboutsummaryrefslogtreecommitdiffstats
path: root/packages/lcdproc/lcdproc.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-02-08 08:16:43 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-02-08 08:16:43 +0000
commit8a2c77972456860f1fc0d8556f1c89f1a1b5922d (patch)
tree11437a1f655e9e80390e9a888dbb99c62ef39849 /packages/lcdproc/lcdproc.inc
parent38fc82775b8c0dbfebdae5ff49465a0ebf4f17e1 (diff)
downloadpfsense-packages-8a2c77972456860f1fc0d8556f1c89f1a1b5922d.tar.gz
pfsense-packages-8a2c77972456860f1fc0d8556f1c89f1a1b5922d.tar.bz2
pfsense-packages-8a2c77972456860f1fc0d8556f1c89f1a1b5922d.zip
Add lpt port for hd44780 displays
Diffstat (limited to 'packages/lcdproc/lcdproc.inc')
-rw-r--r--packages/lcdproc/lcdproc.inc6
1 files changed, 6 insertions, 0 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;