[oe] [PATCH 2/2][meta-networking] postfix: add LSB init infos

wenzong.fan at windriver.com wenzong.fan at windriver.com
Mon Mar 30 08:51:36 UTC 2015


From: Wenzong Fan <wenzong.fan at windriver.com>

Keep compatibility with chkconfig tool.

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
 meta-networking/recipes-daemons/postfix/files/postfix | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-networking/recipes-daemons/postfix/files/postfix b/meta-networking/recipes-daemons/postfix/files/postfix
index 7bcc816..0ea67ef 100755
--- a/meta-networking/recipes-daemons/postfix/files/postfix
+++ b/meta-networking/recipes-daemons/postfix/files/postfix
@@ -1,4 +1,12 @@
 #!/bin/sh
+### BEGIN INIT INFO
+# Provides: postfix MTA
+# Default-Start: 2345
+# Default-Stop: 016
+# Short-Description: start and stop postfix
+# Description: Postfix is a Mail Transport Agent, which is the program
+#              that moves mail from one machine to another.
+### END INIT INFO
 
 success() {
         echo " Successful"
-- 
1.9.1




More information about the Openembedded-devel mailing list