SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
--- usr/bin/mysql-zrm-scheduler.orig Mon Aug 26 22:45:37 2013
|
||||
+++ usr/bin/mysql-zrm-scheduler Tue May 13 15:33:21 2014
|
||||
@@ -38,8 +38,8 @@ my $logdir="/var/log/mysql-zrm";
|
||||
my $confdir="/etc/mysql-zrm";
|
||||
my $def_dest="/var/lib/mysql-zrm"; # backup root
|
||||
my $logfile="$logdir/$prog.log";
|
||||
-my $zrm="/usr/bin/mysql-zrm";
|
||||
-my $pre_scheduler="/usr/bin/zrm-pre-scheduler";
|
||||
+my $zrm="${TRUEPREFIX}/bin/mysql-zrm";
|
||||
+my $pre_scheduler="${TRUEPREFIX}/bin/zrm-pre-scheduler";
|
||||
my $zrm_pre_backup="$pre_scheduler --action backup";
|
||||
my $zrm_backup="$zrm --action backup";
|
||||
my $zrm_purge="$zrm --action purge";
|
||||
@@ -351,7 +351,7 @@ if ( $interval eq "monthly" ) {
|
||||
}
|
||||
|
||||
|
||||
-($mycrontab_fh, $mycrontab) = mkstemp( "/tmp/zrmcrontabXXXXX" );
|
||||
+($mycrontab_fh, $mycrontab) = mkstemp( "/tmp/zrmcrontabXXXXXXXXXX" );
|
||||
|
||||
system ("crontab -l > $mycrontab 2> /dev/null");
|
||||
$exit_value = $? >> 8;
|
Loading…
Add table
Add a link
Reference in a new issue