diff options
author | John Estabrook <jestabro@vyos.io> | 2022-03-08 11:51:31 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-03-08 11:51:31 -0600 |
commit | 18e2864769226e39479cf3fc3be2dc5ec67acac1 (patch) | |
tree | 8fda43cc032054525ea1700590dd5c55b1627c8e /functions | |
parent | 44fa733c7a4948208b003d828cf0ca8c6227cca2 (diff) | |
download | vyatta-cfg-18e2864769226e39479cf3fc3be2dc5ec67acac1.tar.gz vyatta-cfg-18e2864769226e39479cf3fc3be2dc5ec67acac1.zip |
save-config: T4292: use vyos-save-config.py
Diffstat (limited to 'functions')
-rw-r--r-- | functions/interpreter/vyatta-cfg-run | 2 | ||||
-rw-r--r-- | functions/wrapper/script-template | 2 |
2 files changed, 2 insertions, 2 deletions
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 |