aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShan Hai <shan.hai@windriver.com>2015-04-03 14:57:18 +0800
committerRobert Yang <liezhi.yang@windriver.com>2018-07-13 10:31:53 +0800
commit9059d54acd6d866664966325c7b1aeef65b2972b (patch)
treec672e823ac991ff3900bf4632478aa4c3768a7ba
parent8c5da6490461b333ab4537a7a09ad4fc7826a008 (diff)
downloadopenembedded-core-contrib-9059d54acd6d866664966325c7b1aeef65b2972b.tar.gz
xinetd: add Init Script Actions to xinetd script
The chkconfig fails to list the xinetd service because the xinetd lacks Init Script Actions in it, add the actions to fix it. Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
-rw-r--r--meta/recipes-extended/xinetd/xinetd/xinetd.init12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-extended/xinetd/xinetd/xinetd.init b/meta/recipes-extended/xinetd/xinetd/xinetd.init
index 777c2c8b46..a0214104b4 100644
--- a/meta/recipes-extended/xinetd/xinetd/xinetd.init
+++ b/meta/recipes-extended/xinetd/xinetd/xinetd.init
@@ -1,5 +1,15 @@
#!/bin/sh
-#
+### BEGIN INIT INFO
+# Provides: inetd
+# Required-Start: $local_fs $remote_fs
+# Required-Stop: $local_fs $remote_fs
+# Should-Start: $syslog
+# Should-Stop: $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start or stop the xinetd daemon.
+### END INIT INFO
+
# /etc/init.d/xinetd -- script to start and stop xinetd.
# Source function library.