]> code.ossystems Code Review - openembedded-core.git/commitdiff
sysvinit: fix the bootlogd init script header
authorRoy Li <rongqing.li@windriver.com>
Fri, 4 Apr 2014 00:26:12 +0000 (08:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 5 Apr 2014 13:53:29 +0000 (14:53 +0100)
fix the bootlogd init script header, to make chkconfig be able to work
on bootlogd

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/sysvinit/sysvinit/bootlogd.init

index b1813572ca0f357e83523330c1b019993f928993..7d6518d9814d024806f7666bc33bbedc74e12112 100755 (executable)
@@ -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@cistron.nl
-#
+### END INIT INFO
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/sbin/bootlogd