blob: 20379995111003edffd9f07b65e90ebf06dc5a89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-ab,v 1.12 2006/10/18 05:50:42 martti Exp $
--- auxiliary/MacOSX/Postfix.StartupItem/Postfix.orig 2006-10-18 08:42:33.000000000 +0000
+++ auxiliary/MacOSX/Postfix.StartupItem/Postfix 2006-10-18 08:43:13.000000000 +0000
@@ -20,18 +20,18 @@
# Start mail server
##
-if [ "$1" == "start" ]
+if [ "$1" = "start" ]
then
if [ "${POSTFIX:=-NO-}" = "-YES-" ]
then
ConsoleMessage "Starting Postfix mail services"
/usr/sbin/postfix start
fi
-elif [ "$1" == "stop" ]
+elif [ "$1" = "stop" ]
then
ConsoleMessage "Stopping Postfix mail services"
/usr/sbin/postfix stop
-elif [ "$1" == "restart" ]
+elif [ "$1" = "restart" ]
then
if [ "${POSTFIX:=-NO-}" = "-YES-" ]
then
|