$OpenBSD: patch-rsnapshot-program_pl,v 1.6 2014/03/21 10:48:10 espie Exp $
--- rsnapshot-program.pl.orig	Sun Aug 31 13:17:07 2008
+++ rsnapshot-program.pl	Fri Mar 21 11:45:39 2014
@@ -392,7 +392,7 @@ sub find_config_file {
 	# autoconf variables (may have too many slashes)
 	my $autoconf_sysconfdir	= '@sysconfdir@';
 	my $autoconf_prefix		= '@prefix@';
-	my $default_config_file	= '/etc/rsnapshot.conf';
+	my $default_config_file	= '${SYSCONFDIR}/rsnapshot.conf';
 	
 	# consolidate multiple slashes
 	$autoconf_sysconfdir	=~ s/\/+/\//g;
@@ -6093,7 +6093,7 @@ of cron jobs. It is possible, however, to run as any a
 with an alternate configuration file.
 
 All important options are specified in a configuration file, which is
-located by default at B</etc/rsnapshot.conf>. An alternate file can be
+located by default at B<${SYSCONFDIR}/rsnapshot.conf>. An alternate file can be
 specified on the command line. There are also additional options which
 can be passed on the command line.
 
@@ -6119,14 +6119,10 @@ B<-D> a firehose of diagnostic information
 
 =head1 CONFIGURATION
 
-B</etc/rsnapshot.conf> is the default configuration file. All parameters
-in this file must be separated by tabs. B</etc/rsnapshot.conf.default>
+B<${SYSCONFDIR}/rsnapshot.conf> is the default configuration file. All parameters
+in this file must be separated by tabs. B<${SAMPLES_DIR}/rsnapshot.conf.default>
 can be used as a reference.
 
-It is recommended that you copy B</etc/rsnapshot.conf.default> to
-B</etc/rsnapshot.conf>, and then modify B</etc/rsnapshot.conf> to suit
-your needs.
-
 Long lines may be split over several lines.  "Continuation" lines
 B<must> begin with a space or a tab character.  Continuation lines will
 have all leading and trailing whitespace stripped off, and then be appended
@@ -6716,6 +6712,8 @@ Putting it all together (an example file):
 
 =back
 
+=back
+
 =head1 USAGE
 
 B<rsnapshot> can be used by any user, but for system-wide backups
@@ -6729,7 +6727,7 @@ also want to run it from the command line once or twic
 a feel for what it's doing.
 
 Here is an example crontab entry, assuming that backup levels B<hourly>,
-B<daily>, B<weekly> and B<monthly> have been defined in B</etc/rsnapshot.conf>
+B<daily>, B<weekly> and B<monthly> have been defined in B<${SYSCONFDIR}/rsnapshot.conf>
 
 =over 4
 
@@ -6774,7 +6772,7 @@ your hourly snapshot will fail sometimes because the d
 
 Remember that these are just the times that the program runs.
 To set the number of backups stored, set the B<retain> numbers in
-B</etc/rsnapshot.conf>
+B<${SYSCONFDIR}/rsnapshot.conf>
 
 To check the disk space used by rsnapshot, you can call it with the "du" argument.
 
@@ -6887,7 +6885,7 @@ B<2>  Some warnings occurred, but the backup still fin
 
 =head1 FILES
 
-/etc/rsnapshot.conf
+${SYSCONFDIR}/rsnapshot.conf
 
 =head1 SEE ALSO
 
@@ -6916,8 +6914,8 @@ B<http://lists.sourceforge.net/lists/listinfo/rsnapsho
 
 =head1 NOTES
 
-Make sure your /etc/rsnapshot.conf file has all elements separated by tabs.
-See /etc/rsnapshot.conf.default for a working example file.
+Make sure your ${SYSCONFDIR}/rsnapshot.conf file has all elements separated by tabs.
+See ${SAMPLES_DIR}/rsnapshot.conf.default for a working example file.
 
 Make sure you put a trailing slash on the end of all directory references.
 If you don't, you may have extra directories created in your snapshots.
@@ -6933,7 +6931,7 @@ If you would like regular users to be able to restore 
 there are a number of ways this can be accomplished. One such scenario
 would be:
 
-Set B<snapshot_root> to B</.private/.snapshots> in B</etc/rsnapshot.conf>
+Set B<snapshot_root> to B</.private/.snapshots> in B<${SYSCONFDIR}/rsnapshot.conf>
 
 Set the file permissions on these directories as follows:
 
