summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/postfix
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-06-06 02:51:26 +0000
committerobrien <obrien@FreeBSD.org>2005-06-06 02:51:26 +0000
commit3747899caec0bcca90d58ae39e251c213844143f (patch)
treee0a722135c6de3e1c726c622fc009651e6a5b24a /etc/rc.d/postfix
parentf1995c4e852275d2e9955862a9afee98b375e441 (diff)
downloadFreeBSD-src-3747899caec0bcca90d58ae39e251c213844143f.zip
FreeBSD-src-3747899caec0bcca90d58ae39e251c213844143f.tar.gz
Remove RCng files that were brought in from NetBSD, but we ended up not
using them (or did and no longer do).
Diffstat (limited to 'etc/rc.d/postfix')
-rwxr-xr-xetc/rc.d/postfix42
1 files changed, 0 insertions, 42 deletions
diff --git a/etc/rc.d/postfix b/etc/rc.d/postfix
deleted file mode 100755
index 807072b..0000000
--- a/etc/rc.d/postfix
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: postfix,v 1.6 2002/02/12 02:19:27 lukem Exp $
-# $FreeBSD$
-#
-
-# PROVIDE: mail
-# REQUIRE: LOGIN
-# we make mail start late, so that things like .forward's are not
-# processed until the system is fully operational
-
-. /etc/rc.subr
-
-name="postfix"
-rcvar=$name
-required_files="/etc/${name}/main.cf"
-start_precmd="postfix_precmd"
-start_cmd="${name} start"
-stop_cmd="${name} stop"
-reload_cmd="${name} reload"
-extra_commands="reload"
-spooletcdir="/var/spool/${name}/etc"
-required_dirs=$spooletcdir
-
-postfix_precmd()
-{
- # As this is called after the is_running and required_dir checks
- # are made in run_rc_command(), we can safely assume ${spooletcdir}
- # exists and postfix isn't running at this point (unless forcestart
- # is used).
- #
-
- for f in localtime resolv.conf services; do
- if [ -f /etc/$f ]; then
- cmp -s /etc/$f ${spooletcdir}/$f || \
- cp -p /etc/$f ${spooletcdir}/$f
- fi
- done
-}
-
-load_rc_config $name
-run_rc_command "$1"
OpenPOWER on IntegriCloud