[oe-commits] Roy Li : sysvinit: fix the bootlogd init script header

git at git.openembedded.org git at git.openembedded.org
Sat Apr 5 13:45:39 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: d1a7e5dbaa1217b692b46e2756c318e5aaa34f9d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d1a7e5dbaa1217b692b46e2756c318e5aaa34f9d

Author: Roy Li <rongqing.li at windriver.com>
Date:   Fri Apr  4 08:26:12 2014 +0800

sysvinit: fix the bootlogd init script header

fix the bootlogd init script header, to make chkconfig be able to work
on bootlogd

Signed-off-by: Roy Li <rongqing.li at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/sysvinit/sysvinit/bootlogd.init | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
index b181357..7d6518d 100755
--- a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
+++ b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
@@ -1,12 +1,16 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          bootlogd
+# Required-Start:
+# Required-Stop:
+# Default-Start:     S
+# Default-Stop:      2 3 4 5
+# Short-Description: One of the first scripts to be executed. Starts or stops
+#               the bootlogd log program. If this script is called as
+#               "stop-bootlogd", it will stop the daemon instead of
+#               starting it even when called with the "start" argument.
 #
-# bootlogd	One of the first scripts to be executed. Starts or stops
-#		the bootlogd log program. If this script is called as
-#		"stop-bootlogd", it will stop the daemon instead of
-#		starting it even when called with the "start" argument.
-#
-# Version:	@(#)bootlogd  2.85-12  21-Mar-2004  miquels at cistron.nl
-#
+### END INIT INFO
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/sbin/bootlogd



More information about the Openembedded-commits mailing list