summaryrefslogtreecommitdiff
path: root/mail/courier-imap/patches/patch-ae
blob: 0cd7612881a36262dd3a726cc1f9120b458b21e0 (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
27
28
29
30
$NetBSD: patch-ae,v 1.3 2002/06/22 15:55:24 grant Exp $

--- imapd-ssl.rc.in.orig	Fri Mar 16 04:36:47 2001
+++ imapd-ssl.rc.in	Sat Jun 22 16:58:09 2002
@@ -21,13 +21,8 @@
 		LIBAUTHMODULES="$LIBAUTHMODULES @libexecdir@/authlib/$f"
 	done
 
-	if test -x ${libexecdir}/authlib/authdaemond
-	then
-		@SETENV@ - ${libexecdir}/authlib/authdaemond start
-	fi
-
 	ulimit -d $IMAP_ULIMITD
-	@SETENV@ - @SHELL@ -c " . @sysconfdir@/imapd ; \
+	@SETENV@ -i @SHELL@ -c " . @sysconfdir@/imapd ; \
 		. @sysconfdir@/imapd-ssl ; \
 		IMAP_TLS=1; export IMAP_TLS; \
 		`sed -n '/^#/d;/=/p' <@sysconfdir@/imapd | \
@@ -45,10 +40,6 @@
 	;;
 stop)
 	@libexecdir@/couriertcpd -pid=$SSLPIDFILE -stop
-	if test -x ${libexecdir}/authlib/authdaemond
-	then
-		${libexecdir}/authlib/authdaemond stop
-	fi
 	;;
 esac
 exit 0