summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-08-24 13:50:22 -0500
committerGitHub <noreply@github.com>2023-08-24 13:50:22 -0500
commitf86d305d2cd638e70e64ef912d826aa1c448c29b (patch)
tree51972789ec0faaedcf94ca6597499cc041f92d90 /functions
parent7321669f9cb118f2dc366e35843b801cca310feb (diff)
parentf56f01300512a3083d444d19fbba8323fbce540f (diff)
downloadvyatta-cfg-f86d305d2cd638e70e64ef912d826aa1c448c29b.tar.gz
vyatta-cfg-f86d305d2cd638e70e64ef912d826aa1c448c29b.zip
Merge pull request #67 from jestabro/save-config
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 2f8f50d..50d6071 100644
--- a/functions/interpreter/vyatta-cfg-run
+++ b/functions/interpreter/vyatta-cfg-run
@@ -185,7 +185,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