summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-03-08 11:51:31 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-03-08 11:51:31 -0600
commit18e2864769226e39479cf3fc3be2dc5ec67acac1 (patch)
tree8fda43cc032054525ea1700590dd5c55b1627c8e /functions
parent44fa733c7a4948208b003d828cf0ca8c6227cca2 (diff)
downloadvyatta-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-run2
-rw-r--r--functions/wrapper/script-template2
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