summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2014-04-04 08:26:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-05 14:53:29 +0100
commitd1a7e5dbaa1217b692b46e2756c318e5aaa34f9d (patch)
treebee46334e4f0ee0b6bc6b1e1076bc14638ef127a
parentfdfff57304e6641ef5a8db0fb456bfd46bf1e2dd (diff)
downloadopenembedded-core-d1a7e5dbaa1217b692b46e2756c318e5aaa34f9d.tar.gz
openembedded-core-d1a7e5dbaa1217b692b46e2756c318e5aaa34f9d.tar.bz2
openembedded-core-d1a7e5dbaa1217b692b46e2756c318e5aaa34f9d.zip
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@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-core/sysvinit/sysvinit/bootlogd.init18
1 files changed, 11 insertions, 7 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
index b1813572ca..7d6518d981 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@cistron.nl
-#
+### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/sbin/bootlogd