[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#691794: Pretty LSB logging overriden by plymouth



Package: lsb-base,plymouth
Followup-For: Bug #691794

Hi.

I tried replacing the *pre hooks with *post hooks in the
/lib/lsb/init-functions.d/99-plymouth file and it seems to be working. I
haven't experienced any obvious side effects.

Please check the attached patch.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.5-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- 99-plymouth.orig	2012-11-16 22:45:33.119063842 +0200
+++ 99-plymouth	2012-11-16 23:00:45.907578470 +0200
@@ -6,32 +6,32 @@
 	return
 fi
 
-log_begin_msg_pre ()
+log_begin_msg_post ()
 {
 	/bin/plymouth update --status="${@}" || true
- }
+}
 
-log_end_msg_pre ()
+log_end_msg_post ()
 {
 	:
 }
 
-log_action_begin_msg_pre ()
+log_action_begin_msg_post ()
 {
 	/bin/plymouth update --status="${@}" || true
 }
 
-log_action_end_msg_pre ()
+log_action_end_msg_post ()
 {
 	:
 }
 
-log_action_msg_pre ()
+log_action_msg_post ()
 {
 	/bin/plymouth update --status="${@}" || true
 }
 
-log_daemon_msg_pre ()
+log_daemon_msg_post ()
 {
 	/bin/plymouth update --status="${@}" || true
 }

Reply to: