aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2015-03-30 16:51:36 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2015-04-15 22:43:37 -0400
commit415a90c67f296f8816acd4d933298b101f8e830c (patch)
tree1467d6d600aacf1e462567ffda6b5a2e7817cdc8
parent69d36cea15b307d513f5d6e887812456dd3d5948 (diff)
downloadmeta-openembedded-contrib-415a90c67f296f8816acd4d933298b101f8e830c.tar.gz
meta-openembedded-contrib-415a90c67f296f8816acd4d933298b101f8e830c.tar.bz2
meta-openembedded-contrib-415a90c67f296f8816acd4d933298b101f8e830c.zip
postfix: add LSB init infos
Keep compatibility with chkconfig tool. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rwxr-xr-xmeta-networking/recipes-daemons/postfix/files/postfix8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/postfix b/meta-networking/recipes-daemons/postfix/files/postfix
index 7bcc81625a..0ea67ef63b 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"