$OpenBSD: patch-rsnapshot-program_pl,v 1.3 2006/08/01 12:32:36 alek Exp $ --- rsnapshot-program.pl.orig Fri Jul 14 18:41:47 2006 +++ rsnapshot-program.pl Fri Jul 14 18:47:25 2006 @@ -355,7 +355,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; @@ -5651,7 +5651,7 @@ of cron jobs. It is possible, however, t with an alternate configuration file. All important options are specified in a configuration file, which is -located by default at B. An alternate file can be +located by default at B. An alternate file can be specified on the command line. There are also additional options which can be passed on the command line. @@ -5677,12 +5677,12 @@ B<-D> a firehose of diagnostic informati =head1 CONFIGURATION -B is the default configuration file. All parameters -in this file must be separated by tabs. B +B is the default configuration file. All parameters +in this file must be separated by tabs. B can be used as a reference. -It is recommended that you copy B to -B, and then modify B to suit +It is recommended that you copy B to +B, and then modify B to suit your needs. Here is a list of allowed parameters: @@ -6164,7 +6164,7 @@ also want to run it from the command lin a feel for what it's doing. Here is an example crontab entry, assuming that intervals B, -B, B and B have been defined in B +B, B and B have been defined in B =over 4 @@ -6200,7 +6200,7 @@ really comes in handy. Remember that these are just the times that the program runs. To set the number of backups stored, set the B numbers in -B +B To check the disk space used by rsnapshot, you can call it with the "du" argument. @@ -6313,7 +6313,7 @@ B<2> Some warnings occurred, but the ba =head1 FILES -/etc/rsnapshot.conf +!!SYSCONFDIR!!/rsnapshot.conf =head1 SEE ALSO @@ -6342,8 +6342,8 @@ B to B in B +Set B to B in B Set the file permissions on these directories as follows: