summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-03-10 10:23:28 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-03-10 12:35:10 -0600
commitf474a575f23465dfe93ba2ae44a8076659c5546a (patch)
treeb8856fc89c63bad614b1039f92983e210960dfee /functions
parent18e2864769226e39479cf3fc3be2dc5ec67acac1 (diff)
downloadvyatta-cfg-f474a575f23465dfe93ba2ae44a8076659c5546a.tar.gz
vyatta-cfg-f474a575f23465dfe93ba2ae44a8076659c5546a.zip
Revert "save-config: T4292: use vyos-save-config.py"
This reverts commit 18e2864769226e39479cf3fc3be2dc5ec67acac1. Revert while investigating failure in vyos-configtest.
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 5696b41..5e0ce42 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="${vyos_libexec_dir}/vyos-save-config.py"
+ local save_cmd="${vyatta_sbindir}/vyatta-save-config.pl"
for arg in "$@"; do
save_cmd+=" '$arg'"
done
diff --git a/functions/wrapper/script-template b/functions/wrapper/script-template
index 4318fe5..f88f410 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="${vyos_libexec_dir}/vyos-save-config.py"
+ local save_cmd="${vyatta_sbindir}/vyatta-save-config.pl"
for arg in "$@"; do
save_cmd+=" '$arg'"
done