Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 20 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20 Rev 79
Line 14... Line 14...
14
        # disable local_scan_path directive to exim working
14
        # disable local_scan_path directive to exim working
15
	if [ -e "$LOCALSCANCONF" ] && [ ! -e "${LOCALSCANCONF}.rul" ]; then
15
	if [ -e "$LOCALSCANCONF" ] && [ ! -e "${LOCALSCANCONF}.rul" ]; then
16
	    echo "${DISABLELOCALSCANTEXT}" > ${LOCALSCANCONF}.rul
16
	    echo "${DISABLELOCALSCANTEXT}" > ${LOCALSCANCONF}.rul
17
	fi
17
	fi
18
	if [ -x /etc/init.d/exim4 ]; then
18
	if [ -x /etc/init.d/exim4 ]; then
19
		if [ -x /usr/sbin/invoke-rc.d ]; then
19
		if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
20
			invoke-rc.d exim4 reload || true
20
			invoke-rc.d exim4 reload || true
21
		else
21
		else
22
			/etc/init.d/exim4 reload || true
22
			/etc/init.d/exim4 reload || true
23
		fi
23
		fi
24
	fi
24
	fi
Line 29... Line 29...
29
	if [ -e "${LOCALSCANCONF}.rul" ] && \
29
	if [ -e "${LOCALSCANCONF}.rul" ] && \
30
	   [ "`md5sum ${LOCALSCANCONF}.rul | cut -d\  -f1`" = "${DISABLELOCALSCANMD5}" ]; then
30
	   [ "`md5sum ${LOCALSCANCONF}.rul | cut -d\  -f1`" = "${DISABLELOCALSCANMD5}" ]; then
31
	   rm ${LOCALSCANCONF}.rul
31
	   rm ${LOCALSCANCONF}.rul
32
	fi
32
	fi
33
	if [ -x /etc/init.d/exim4 ]; then
33
	if [ -x /etc/init.d/exim4 ]; then
34
		if [ -x /usr/sbin/invoke-rc.d ]; then
34
		if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
35
			invoke-rc.d exim4 reload || true
35
			invoke-rc.d exim4 reload || true
36
		else
36
		else
37
			/etc/init.d/exim4 reload || true
37
			/etc/init.d/exim4 reload || true
38
		fi
38
		fi
39
	fi
39
	fi