From b4fc0e917211d634d5ead3859f767c5c0d49f2b5 Mon Sep 17 00:00:00 2001 From: yylyyl Date: Tue, 23 Sep 2014 22:40:26 +0800 Subject: it's $lcdproc_config['comport'] that can be "none" but $realport --- config/lcdproc-dev/lcdproc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/lcdproc-dev') 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"; -- cgit v1.2.3