]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
xinetd: add Init Script Actions to xinetd script
authorShan Hai <shan.hai@windriver.com>
Fri, 3 Apr 2015 06:57:18 +0000 (14:57 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Fri, 13 Jul 2018 02:31:53 +0000 (10:31 +0800)
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>
meta/recipes-extended/xinetd/xinetd/xinetd.init

index 777c2c8b4618c28b82bc0b5c489fe3de807449e5..a0214104b4ce9caf5684f75d97cd51faeadf7710 100644 (file)
@@ -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.