summaryrefslogtreecommitdiff
path: root/scripts/vyatta-config-mgmt.pl
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-10-28 11:28:31 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-10-28 11:28:31 -0700
commit3c72265b610ef61de23de9ae85a536a833ae08c8 (patch)
tree21eb08a2f64b9c887eebd278572c0c4ef847def1 /scripts/vyatta-config-mgmt.pl
parentde8b643eb1ff7c056f4e5e9c920387ed2d2d2a11 (diff)
downloadvyatta-config-mgmt-3c72265b610ef61de23de9ae85a536a833ae08c8.tar.gz
vyatta-config-mgmt-3c72265b610ef61de23de9ae85a536a833ae08c8.zip
Move commit-uri under remote-archive.
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 e3f01ec..c074793 100755
--- a/scripts/vyatta-config-mgmt.pl
+++ b/scripts/vyatta-config-mgmt.pl
@@ -74,7 +74,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');
+ $config->setLevel('system config-mgmt remote-archive');
my @uris = $config->returnValues('commit-uri');
my $link = get_link($commit_uri_script);
if (scalar(@uris) >= 1 and ! -e $link) {
@@ -88,7 +88,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');
+ $config->setLevel('system config-mgmt remote-archive');
my @uris = $config->returnValues('commit-uri');
if (scalar(@uris) <= 0) {
my $link = get_link($commit_uri_script);