diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-02 10:07:49 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-02 10:07:49 +0000 |
commit | 38a0a8023026a77ded1e6de618b567c7b58e79a4 (patch) | |
tree | abf5fbbdc4b27a245ff76b9850f4eb6e73e4ba19 /sysutils/boxbackup-devel/files/999.boxbackup.in | |
parent | - Fix build with GCRYPT option by taking out -Werror (diff) |
Remove non staged ports without pending PR from s*
Notes
Notes:
svn path=/head/; revision=366980
Diffstat (limited to 'sysutils/boxbackup-devel/files/999.boxbackup.in')
-rw-r--r-- | sysutils/boxbackup-devel/files/999.boxbackup.in | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/sysutils/boxbackup-devel/files/999.boxbackup.in b/sysutils/boxbackup-devel/files/999.boxbackup.in deleted file mode 100644 index e620fa306ca9..000000000000 --- a/sysutils/boxbackup-devel/files/999.boxbackup.in +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Box Backup monthly store compare -# -# Add the following to /etc/periodic.conf to enable the monthly compare: -# monthly_boxbackup_compare_enable="YES" -# -# By default the script will run "compare -aq". If you want to change this to -# run a full compare, add the following to periodic.conf: -# monthly_boxbackup_compare_args="-a" -# -# NOTE: This script will cause the monthly periodic(8) run to take much longer -# than usual, depending on the size of your backup store. -# -# If you wish to run this independently of the monthly job, you can create a -# new periodic entry as follows: -# -# # mkdir /usr/local/etc/periodic/boxbackup -# # mv /usr/local/etc/periodic/monthly/999.boxbackup \ -# /usr/local/etc/periodic/boxbackup/100.compare -# -# Then add the following to /etc/crontab: -# 30 5 1 * * root periodic boxbackup -# -# (adjust the timings as necessary) -# -# You may also wish to add boxbackup_output="root" to periodic.conf so that -# mail comes from periodic rather than cron. - -monthly_boxbackup_compare_enable="NO" -monthly_boxbackup_compare_args="-aq" - -if [ -r /etc/defaults/periodic.conf ] -then - . /etc/defaults/periodic.conf - source_periodic_confs -fi - -rc=0 - -case "$monthly_boxbackup_compare_enable" in - [Yy][Ee][Ss]) - echo - echo "Running Box Backup store compare:" - %%PREFIX%%/sbin/bbackupquery -q "compare -c $monthly_boxbackup_compare_args" quit - - # Return codes: - # 1 Comparison was exact - # 2 Differences were found - # 3 An error occurred - if [ $? -eq 2 ]; then - echo - echo "Differences were found. Please check the output." - rc=3 - elif [ $? -eq 3 ]; then - echo - echo "An error occurred. Please check the output." - rc=3 - fi - - ;; -esac - -exit $rc |