* [PATCH] sysvinit: fix the bootlogd init script header
@ 2014-04-04 0:26 rongqing.li
0 siblings, 0 replies; only message in thread
From: rongqing.li @ 2014-04-04 0:26 UTC (permalink / raw)
To: openembedded-core
From: Roy Li <rongqing.li@windriver.com>
fix the bootlogd init script header, to make chkconfig be able to work
on bootlogd
Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
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@cistron.nl
-#
+### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/sbin/bootlogd
--
1.7.10.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-04 0:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04 0:26 [PATCH] sysvinit: fix the bootlogd init script header rongqing.li
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.