summaryrefslogtreecommitdiff
path: root/scripts/vyatta-config-mgmt.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-config-mgmt.pl')
-rwxr-xr-xscripts/vyatta-config-mgmt.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-config-mgmt.pl b/scripts/vyatta-config-mgmt.pl
index 46017e0..382b685 100755
--- a/scripts/vyatta-config-mgmt.pl
+++ b/scripts/vyatta-config-mgmt.pl
@@ -147,7 +147,7 @@ my ($cmd, $rc) = ('', 1);
if ($action eq 'add-uri') {
print "add-uri\n" if $debug;
my $config = new Vyatta::Config;
- $config->setLevel('system config-mgmt remote-archive');
+ $config->setLevel('system config-management remote-archive');
my @uris = $config->returnValues('commit-uri');
my $link = get_link($commit_uri_script);
if (scalar(@uris) >= 1 and ! -e $link) {
@@ -161,7 +161,7 @@ if ($action eq 'add-uri') {
if ($action eq 'del-uri') {
print "del-uri\n" if $debug;
my $config = new Vyatta::Config;
- $config->setLevel('system config-mgmt remote-archive');
+ $config->setLevel('system config-management remote-archive');
my @uris = $config->returnValues('commit-uri');
if (scalar(@uris) <= 0) {
my $link = get_link($commit_uri_script);