From 18e2864769226e39479cf3fc3be2dc5ec67acac1 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 8 Mar 2022 11:51:31 -0600 Subject: save-config: T4292: use vyos-save-config.py --- functions/interpreter/vyatta-cfg-run | 2 +- functions/wrapper/script-template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'functions') diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index 5e0ce42..5696b41 100644 --- a/functions/interpreter/vyatta-cfg-run +++ b/functions/interpreter/vyatta-cfg-run @@ -186,7 +186,7 @@ vyatta_config_save () reset_edit_level # transform individual args into quoted strings local arg='' - local save_cmd="${vyatta_sbindir}/vyatta-save-config.pl" + local save_cmd="${vyos_libexec_dir}/vyos-save-config.py" for arg in "$@"; do save_cmd+=" '$arg'" done diff --git a/functions/wrapper/script-template b/functions/wrapper/script-template index f88f410..4318fe5 100644 --- a/functions/wrapper/script-template +++ b/functions/wrapper/script-template @@ -124,7 +124,7 @@ function save () reset_edit_level # transform individual args into quoted strings local arg='' - local save_cmd="${vyatta_sbindir}/vyatta-save-config.pl" + local save_cmd="${vyos_libexec_dir}/vyos-save-config.py" for arg in "$@"; do save_cmd+=" '$arg'" done -- cgit v1.2.3