Errors in both /etc/init.d/LCDd script and /etc/LCDd.conf that break lcdproc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lcdproc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Version: 0.5.0-1
The driver path in LCDd.conf does not correspond to the driver locations, causing lcdproc not to start, here's the patch:
--- /etc/LCDd.conf.orig 2006-09-30 23:54:12.000000000 -0400
+++ /etc/LCDd.conf 2006-09-30 23:54:31.000000000 -0400
@@ -76,7 +76,7 @@
# the driver modules and will thus not be able to
# function properly.
# NOTE: Always place a slash as last character !
-DriverPath=
+DriverPath=
-s and -f require a boolean value in /etc/init.d/LCDd otherwise LCDd refuses to start, here's the patch:
--- /etc/init.
+++ /etc/init.d/LCDd 2006-10-01 01:19:55.000000000 -0400
@@ -14,7 +14,7 @@
NAME=LCDd
DESC=LCDd
DESC="LCDd"
-DAEMON_OPTS="-s -f -c /etc/LCDd.conf"
+DAEMON_OPTS="-s true -f true -c /etc/LCDd.conf"
test -x $DAEMON || exit 0
BTW, thanks for including imon support (even though the pkg desc doesn't mention it) in the build options... :-)
-G
Related branches
Changed in lcdproc: | |
status: | Unconfirmed → Confirmed |
I am surprised that no one has confirmed this bug. To me this is a critical bug for those who use the Lcdproc package.
I just wanted to mention that his patch to LCDd works, I was pulling my hair out trying to find a work around. For me i would start LCDd with the -d option using my lcd driver. Then I would try to attach lcdproc to it, but it would fail, at least I know that it is a problem with lcdproc.
In fact I will be filing another bug report to lcdproc as it still fails, I am using AMD64. I have to restart LCDd a few times before lcdproc shows up, and doesn't fail.