summaryrefslogtreecommitdiff
path: root/mail/courier-imap/patches/patch-af
blob: 1330daffc4efa12c92831db8e5578d2fcb4fd58e (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-af,v 1.3 2002/06/22 15:55:24 grant Exp $

--- imapd.rc.in.orig	Mon Jul 30 02:02:32 2001
+++ imapd.rc.in	Sat Jun 22 16:58:20 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_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
 		TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
@@ -45,10 +40,6 @@
 	;;
 stop)
 	@libexecdir@/couriertcpd -pid=$PIDFILE -stop
-	if test -x ${libexecdir}/authlib/authdaemond
-	then
-		${libexecdir}/authlib/authdaemond stop
-	fi
 	;;
 esac
 exit 0