[Lunar-commits] r18404 - moonbase/trunk/mail/postfix/init.d
Auke Kok
sofar at lunar-linux.org
Mon Jan 30 21:13:57 UTC 2006
Author: sofar
Date: 2006-01-30 21:13:56 +0000 (Mon, 30 Jan 2006)
New Revision: 18404
Modified:
moonbase/trunk/mail/postfix/init.d/postfix
Log:
Nicely format the postfix startup lines =^).
Modified: moonbase/trunk/mail/postfix/init.d/postfix
===================================================================
--- moonbase/trunk/mail/postfix/init.d/postfix 2006-01-30 21:03:37 UTC (rev 18403)
+++ moonbase/trunk/mail/postfix/init.d/postfix 2006-01-30 21:13:56 UTC (rev 18404)
@@ -12,15 +12,17 @@
start () {
+ echo -n "Starting postfix: "
newaliases
- postfix start &&
+ postfix start 2> /dev/null &&
echo -e $RESULT_OK ||
echo -e $RESULT_FAIL
}
stop () {
- postfix stop &&
+ echo -n "Stopping postfix: "
+ postfix stop 2> /dev/null &&
echo -e $RESULT_OK ||
echo -e $RESULT_FAIL
}
@@ -39,3 +41,4 @@
. /lib/lsb/init-functions
+
More information about the Lunar-commits
mailing list