summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-03-03 15:21:01 +0000
committermtm <mtm@FreeBSD.org>2004-03-03 15:21:01 +0000
commit72747959d214b08db31f33611980398246240cc3 (patch)
treed35e67a1dc7be1e74ef6db32a05ace52c6a4bd21
parent91b0d17289208696ca7d056cfe54b043928ff25f (diff)
downloadFreeBSD-src-72747959d214b08db31f33611980398246240cc3.zip
FreeBSD-src-72747959d214b08db31f33611980398246240cc3.tar.gz
From the PR:
Certain MTA configurations mean that the notifications from virecover keep bouncing; so here's a patch to allow administrators to turn them off. PR: conf/54910 Submitted by: bms (with a minor cleanup)
-rw-r--r--etc/defaults/rc.conf1
-rwxr-xr-xetc/rc.d/virecover1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index e627fce..fe84b8d 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -448,6 +448,7 @@ performance_cx_lowest="HIGH" # Online CPU idle state
performance_throttle_state="HIGH" # Online throttling state
economy_cx_lowest="LOW" # Offline CPU idle state
economy_throttle_state="HIGH" # Offline throttling state
+virecover_enable="YES" # Perform housekeeping for the vi(1) editor
##############################################################
### Jail Configuration #######################################
diff --git a/etc/rc.d/virecover b/etc/rc.d/virecover
index 2531260..9fd1a8d 100755
--- a/etc/rc.d/virecover
+++ b/etc/rc.d/virecover
@@ -14,6 +14,7 @@
. /etc/rc.subr
name="virecover"
+rcvar="`set_rcvar`"
stop_cmd=":"
start_cmd="virecover_start"
OpenPOWER on IntegriCloud