From 5ffc21d7950f707b0ecc2c8e9254c6e622a124cd Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 23 Oct 2024 19:48:31 -0500 Subject: [PATCH] T6718: use vy_set/delete in place of my_set/delete --- functions/interpreter/vyatta-cfg-run | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index d1dbd51c..f557d3e7 100644 --- a/functions/interpreter/vyatta-cfg-run +++ b/functions/interpreter/vyatta-cfg-run @@ -353,6 +353,12 @@ vyatta_cfg_cmd_run () vyatta_config_edit "${@:2}" elif [[ "$cmd" == "show" ]]; then vyatta_config_show "${@:2}" + elif [[ "$cmd" == "set" ]]; then + cmd="/usr/libexec/vyos/vyconf/vy_set" + output=$($cmd "${@:2}") + elif [[ "$cmd" == "delete" ]]; then + cmd="/usr/libexec/vyos/vyconf/vy_delete" + output=$($cmd "${@:2}") else cmd="/opt/vyatta/sbin/my_$cmd" output=$($cmd "${@:2}")