diff options
Diffstat (limited to 'sysutils/boxbackup-devel/files')
-rw-r--r-- | sysutils/boxbackup-devel/files/999.boxbackup.in | 66 | ||||
-rw-r--r-- | sysutils/boxbackup-devel/files/bbackupd.in | 28 | ||||
-rw-r--r-- | sysutils/boxbackup-devel/files/bbstored.in | 28 | ||||
-rw-r--r-- | sysutils/boxbackup-devel/files/pkg-message.client | 4 | ||||
-rw-r--r-- | sysutils/boxbackup-devel/files/pkg-message.server | 4 |
5 files changed, 0 insertions, 130 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 diff --git a/sysutils/boxbackup-devel/files/bbackupd.in b/sysutils/boxbackup-devel/files/bbackupd.in deleted file mode 100644 index e74a9df86073..000000000000 --- a/sysutils/boxbackup-devel/files/bbackupd.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: bbackupd -# REQUIRE: NETWORKING -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable bbackupd: -# -# bbackupd_enable="YES" - -. /etc/rc.subr - -name="bbackupd" -rcvar=bbackupd_enable - -load_rc_config $name - -: ${bbackupd_enable:="NO"} -: ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"} - -pidfile=${bbackupd_pidfile:-"/var/run/bbackupd.pid"} - -command="%%PREFIX%%/sbin/bbackupd" -extra_commands="reload" - -run_rc_command "$1" diff --git a/sysutils/boxbackup-devel/files/bbstored.in b/sysutils/boxbackup-devel/files/bbstored.in deleted file mode 100644 index f5163bb165ba..000000000000 --- a/sysutils/boxbackup-devel/files/bbstored.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: bbstored -# REQUIRE: NETWORKING -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable bbstored: -# -# bbstored_enable="YES" - -. /etc/rc.subr - -name="bbstored" -rcvar=bbstored_enable - -load_rc_config $name - -: ${bbstored_enable:="NO"} -: ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"} - -pidfile=${bbstored_pidfile:-"/var/run/bbstored.pid"} - -command="%%PREFIX%%/sbin/bbstored" -extra_commands="reload" - -run_rc_command "$1" diff --git a/sysutils/boxbackup-devel/files/pkg-message.client b/sysutils/boxbackup-devel/files/pkg-message.client deleted file mode 100644 index e804b44d94b9..000000000000 --- a/sysutils/boxbackup-devel/files/pkg-message.client +++ /dev/null @@ -1,4 +0,0 @@ - -To run bbackupd at startup, add bbackupd_enable="YES" to /etc/rc.conf -Please see http://www.boxbackup.org/client.html for client configuration -options diff --git a/sysutils/boxbackup-devel/files/pkg-message.server b/sysutils/boxbackup-devel/files/pkg-message.server deleted file mode 100644 index 872c82bf5ed8..000000000000 --- a/sysutils/boxbackup-devel/files/pkg-message.server +++ /dev/null @@ -1,4 +0,0 @@ - -To run bbstored at startup, add bbstored_enable="YES" to /etc/rc.conf -Please see http://www.boxbackup.org/server.html for server configuration -options |