diff options
author | yylyyl <yangyiliang@gmail.com> | 2014-09-23 22:40:26 +0800 |
---|---|---|
committer | yylyyl <yangyiliang@gmail.com> | 2014-09-23 22:40:26 +0800 |
commit | b4fc0e917211d634d5ead3859f767c5c0d49f2b5 (patch) | |
tree | 95174ef0b25b6f3203b99b3ba2ddba21a84742d9 /config/lcdproc-dev/lcdproc.inc | |
parent | ee8a91ebd4f7e919db0fc79df25fa164e4d43eb6 (diff) | |
download | pfsense-packages-b4fc0e917211d634d5ead3859f767c5c0d49f2b5.tar.gz pfsense-packages-b4fc0e917211d634d5ead3859f767c5c0d49f2b5.tar.bz2 pfsense-packages-b4fc0e917211d634d5ead3859f767c5c0d49f2b5.zip |
it's $lcdproc_config['comport'] that can be "none" but $realport
Diffstat (limited to 'config/lcdproc-dev/lcdproc.inc')
-rw-r--r-- | config/lcdproc-dev/lcdproc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/lcdproc-dev/lcdproc.inc b/config/lcdproc-dev/lcdproc.inc index 5664461d..73827721 100644 --- a/config/lcdproc-dev/lcdproc.inc +++ b/config/lcdproc-dev/lcdproc.inc @@ -308,7 +308,7 @@ $config_text .= "[{$lcdproc_config['driver']}]\n"; $config_text .= "driverpath=/usr/local/lib/lcdproc/\n"; $config_text .= "ConnectionType={$lcdproc_config['connection_type']}\n"; - if($realport != "none") + if($lcdproc_config['comport'] != "none") $config_text .= "Device={$realport}\n"; $config_text .= "Port=0x378\n"; $config_text .= "Speed=0\n"; |