summaryrefslogtreecommitdiff
path: root/functions/interpreter/vyatta-cfg-run
diff options
context:
space:
mode:
Diffstat (limited to 'functions/interpreter/vyatta-cfg-run')
-rw-r--r--functions/interpreter/vyatta-cfg-run3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run
index 52b5b08..52a264a 100644
--- a/functions/interpreter/vyatta-cfg-run
+++ b/functions/interpreter/vyatta-cfg-run
@@ -319,6 +319,9 @@ vyatta_config_run ()
fi
if [[ "set" =~ "$1" ]]; then
_vyatta_op_run "$@"
+ elif [[ "$1" =~ "/" ]]; then
+ local args=("$@")
+ ${args[0]} "${args[@]:1}"
else
/opt/vyatta/bin/vyatta-op-cmd-wrapper "$@"
fi