From 0ee95693887d35a1ecf8e084a76aa4845448603b Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 8 Mar 2022 12:05:28 -0600 Subject: save-config: T4292: use vyos-save-config.py --- scripts/vyatta-commit-revs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vyatta-commit-revs.pl b/scripts/vyatta-commit-revs.pl index f9fd2ff..7678a43 100755 --- a/scripts/vyatta-commit-revs.pl +++ b/scripts/vyatta-commit-revs.pl @@ -64,7 +64,7 @@ if (! -d $archive_dir) { system("sudo chown vyatta:vyattacfg $archive_dir"); } if (! defined $rollback) { - my $cmd = '/opt/vyatta/sbin/vyatta-save-config.pl'; + my $cmd = '/usr/libexec/vyos/vyos-save-config.py'; system("$cmd $tmp_config_file > /dev/null"); if (compare($tmp_config_file, $last_commit_file) == 0) { exit 0; -- cgit v1.2.3