diff options
author | John Estabrook <jestabro@vyos.io> | 2023-08-24 13:50:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 13:50:22 -0500 |
commit | f86d305d2cd638e70e64ef912d826aa1c448c29b (patch) | |
tree | 51972789ec0faaedcf94ca6597499cc041f92d90 /functions | |
parent | 7321669f9cb118f2dc366e35843b801cca310feb (diff) | |
parent | f56f01300512a3083d444d19fbba8323fbce540f (diff) | |
download | vyatta-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-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 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 |