diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-12-03 19:30:22 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-12-03 19:30:22 +0000 |
commit | 023c1ae731270c572e9653004f3ff637b1d3011f (patch) | |
tree | 9fb83ffff767523f5cbac39eef7fa3f391884a79 /packages/lcdproc/lcdproc.inc | |
parent | 8f5dfa3c84e6ee11cc8286a8defb00531a63770c (diff) | |
download | pfsense-packages-023c1ae731270c572e9653004f3ff637b1d3011f.tar.gz pfsense-packages-023c1ae731270c572e9653004f3ff637b1d3011f.tar.bz2 pfsense-packages-023c1ae731270c572e9653004f3ff637b1d3011f.zip |
Add curses driver and show device in dropdown
Diffstat (limited to 'packages/lcdproc/lcdproc.inc')
-rw-r--r-- | packages/lcdproc/lcdproc.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/lcdproc/lcdproc.inc b/packages/lcdproc/lcdproc.inc index b8db64d0..bd6c83e1 100644 --- a/packages/lcdproc/lcdproc.inc +++ b/packages/lcdproc/lcdproc.inc @@ -180,10 +180,34 @@ $config_text .= "NewFirmware=yes\n"; $config_text .= "Reboot=yes\n"; break; + case "curses": + $config_text .= "[{$lcdproc_config[driver]}]\n"; + $config_text .= "Foreground=blue\n"; + $config_text .= "Background=cyan\n"; + $config_text .= "Backlight=red\n"; + $config_text .= "Size=16x4\n"; + $config_text .= "TopLeftX=7\n"; + $config_text .= "TopLeftY=7\n"; + $config_text .= "UseACS=no\n"; + break; + case "CwLynx": + $config_text .= "[{$lcdproc_config[driver]}]\n"; + $config_text .= "Model=12232\n"; + $config_text .= "Device={$realport}\n"; + $config_text .= "Size=20x4\n"; + $config_text .= "Speed=19200\n"; + $config_text .= "Reboot=no\n"; + break; case "pyramid": $config_text .= "[{$lcdproc_config[driver]}]\n"; $config_text .= "Device={$realport}\n"; break; + case "ea65": + $config_text .= "[{$lcdproc_config[driver]}]\n"; + $config_text .= "Device={$realport}\n"; + $config_text .= "OffBrightness=0\n"; + $config_text .= "Brightness=500\n"; + break; default: lcdproc_warn("The chosen lcdproc driver is not a valid choice"); unset($lcdproc_config[driver]); |