summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-config-mgmt.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyatta-config-mgmt.pl b/scripts/vyatta-config-mgmt.pl
index de08e07..853fc82 100755
--- a/scripts/vyatta-config-mgmt.pl
+++ b/scripts/vyatta-config-mgmt.pl
@@ -202,6 +202,7 @@ if ($action eq 'update-revs') {
system("sudo chmod 775 $archive_dir");
}
my $lr_conf = "$config_file {\n";
+ $lr_conf .= "\t su root vyattacfg\n";
$lr_conf .= "\t rotate $revs\n";
$lr_conf .= "\t start 0\n";
$lr_conf .= "\t compress \n";