From 9059d54acd6d866664966325c7b1aeef65b2972b Mon Sep 17 00:00:00 2001 From: Shan Hai Date: Fri, 3 Apr 2015 14:57:18 +0800 Subject: 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 Signed-off-by: Mingli Yu --- meta/recipes-extended/xinetd/xinetd/xinetd.init | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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. -- cgit 1.2.3-korg