http://bugzilla.novell.com/show_bug.cgi?id=515040
User revealed@freakmail.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=515040#c2
--- Comment #2 from revealed revealed 2009-06-21 16:43:16 MDT ---
Ah sorry it seemed that on every second reboot. When i changed the file:
/etc/init.d/lirc
That it worked. But on a second reboot it called a socket error.
I mad another change and reverted the change from previous posting. So it works
for the 3rd reboot now with this:
@@ -13,10 +13,12 @@
#
### BEGIN INIT INFO
# Provides: lirc
-# Required-Start: $remote_fs
-# Required-Stop: $remote_fs
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
+# Required-Start: $syslog
+# Required-Stop:
+# X-Start-Before: acpid
+# X-Stop-After:
# Short-Description: lirc daemon
# Description: The main task of lircd is to decode the infrared
# signals and provide an uniform interface for client applications
@@ -24,13 +26,23 @@
# Check for missing binaries (stale symlinks should not happen)
lircd_BIN=/usr/sbin/lircd
+lircmd_BIN=/usr/sbin/lircmd
+lircmd_flag="/etc/lircmd.conf"
+
test -x $lircd_BIN || exit 5
+test -x $lircmd_BIN || exit 5
# Check for existence of needed config file and read it
lircd_CONFIG=/etc/sysconfig/lirc
test -r $lircd_CONFIG || exit 6
. $lircd_CONFIG
+# Check for lircmd config to be available
+lircmd_CONFIG=/etc/lircmd.conf
+test -r $lircmd_CONFIG || { echo "$lircmd_CONFIG not existing";
+ if [ "$1" = "stop" ]; then exit 0;
+ else exit 6; fi; }
+
# Source LSB init functions
# providing start_daemon, killproc, pidofproc,
# log_success_msg, log_failure_msg and log_warning_msg.
@@ -142,7 +154,8 @@
## Start daemon with startproc(8). If this fails
## the return value is set appropriately by startproc.
eval startproc $lircd_BIN $(makeargs)
-
+ ## Start the lircmd as daemon (default) (no evaluation)
+ $lircmd_BIN $lircmd_flag
# Remember status and be verbose
rc_status -v
;;
@@ -152,6 +165,7 @@
## killproc sets the return value according to LSB.
killproc -TERM $lircd_BIN
+ killproc -TERM $lircmd_BIN
# Remember status and be verbose
rc_status -v
@@ -181,6 +195,7 @@
echo -n "Reload service lircd "
## if it supports it:
killproc -HUP $lircd_BIN
+ killproc -HUP $lircmd_BIN
#touch /var/run/lircd.pid
rc_status -v
@@ -195,6 +210,7 @@
# If it supports signaling:
echo -n "Reload service lircd "
killproc -HUP $lircd_BIN
+ killproc -HUP $lircmd_BIN
#touch /var/run/lircd.pid
rc_status -v
@@ -217,6 +233,7 @@
# NOTE: checkproc returns LSB compliant status values.
checkproc $lircd_BIN
+ checkproc $lircmd_BIN
# NOTE: rc_status knows that we called this init script with
# "status" option and adapts its messages accordingly.
rc_status -v
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.