xinetd: add Init Script Actions to xinetd script
PATCH 1/1 xinetd: add Init Script Actions to xinetd script
From: Shan Hai <[email protected]>
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 <[email protected]>
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-extended/xinetd/xinetd/xinetd.init | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
meta/recipes-extended/xinetd/xinetd/xinetd.init +11 -1
@@ -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.
Signature · 1 line
2.8.1