summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/qmail-mysql/files/1.03-r13/config-sanity-check')
-rw-r--r--mail-mta/qmail-mysql/files/1.03-r13/config-sanity-check23
1 files changed, 0 insertions, 23 deletions
diff --git a/mail-mta/qmail-mysql/files/1.03-r13/config-sanity-check b/mail-mta/qmail-mysql/files/1.03-r13/config-sanity-check
deleted file mode 100644
index b12c19a0a7f5..000000000000
--- a/mail-mta/qmail-mysql/files/1.03-r13/config-sanity-check
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-# Configuration Sanity Checking for qmail
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail-mysql/files/1.03-r13/config-sanity-check,v 1.2 2004/07/18 03:28:23 dragonheart Exp $
-# This is intended solely to stop qmail eating up all your hard disk space with logs
-
-CONFIG_SANITY_GOOD=1
-
-# check simple stuff first
-if [ -z "${QMAILDUID}" -o -z "${NOFILESGID}" -o -z "${SERVICE}" ]; then
- echo "SERVICE(${SERVICE}), QMAILDUID(${QMAILDUID}) or NOFILESGID(${NOFILESGID}) is unset in $0"
- CONFIG_SANITY_GOOD=0
-fi
-
-# now make sure we are are on a port that is resolable to a port number
-if [ -z "`getent services ${TCPSERVER_PORT}`" ]; then
- CONFIG_SANITY_GOOD=0
-fi
-
-if [ ! "${CONFIG_SANITY_GOOD}" -eq "1" ]; then
- echo "Some error detected, sleeping for 30 seconds for safety"
- sleep 30s
- exit 1
-fi