diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-10-28 11:28:31 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-10-28 11:28:31 -0700 |
commit | 3c72265b610ef61de23de9ae85a536a833ae08c8 (patch) | |
tree | 21eb08a2f64b9c887eebd278572c0c4ef847def1 /scripts | |
parent | de8b643eb1ff7c056f4e5e9c920387ed2d2d2a11 (diff) | |
download | vyatta-config-mgmt-3c72265b610ef61de23de9ae85a536a833ae08c8.tar.gz vyatta-config-mgmt-3c72265b610ef61de23de9ae85a536a833ae08c8.zip |
Move commit-uri under remote-archive.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-commit-push.pl | 2 | ||||
-rwxr-xr-x | scripts/vyatta-config-mgmt.pl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-commit-push.pl b/scripts/vyatta-commit-push.pl index ab63509..2cbd887 100755 --- a/scripts/vyatta-commit-push.pl +++ b/scripts/vyatta-commit-push.pl @@ -41,7 +41,7 @@ use URI; my $debug = 0; my $config = new Vyatta::Config; -$config->setLevel('system config-mgmt'); +$config->setLevel('system config-mgmt remote-archive'); my @uris = $config->returnOrigValues('commit-uri'); if (scalar(@uris) < 1) { 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); |