summaryrefslogtreecommitdiff
path: root/src/op_mode/vtysh_wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/op_mode/vtysh_wrapper.sh')
-rwxr-xr-xsrc/op_mode/vtysh_wrapper.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/op_mode/vtysh_wrapper.sh b/src/op_mode/vtysh_wrapper.sh
new file mode 100755
index 000000000..47d88330b
--- /dev/null
+++ b/src/op_mode/vtysh_wrapper.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+declare -a tmp
+tmp=$@
+vtysh -c "$tmp"