summaryrefslogtreecommitdiff
path: root/src/op_mode/vtysh_wrapper.sh
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-18 08:44:05 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-19 08:33:29 +0100
commitb0b03e21d24411c5a994d8e5c8009f39d9b6f639 (patch)
treec46ee27e01b9af54743122c0e183da2a624f60ea /src/op_mode/vtysh_wrapper.sh
parentc0bc1782f3c92033aa1224e220c8147cd031a23e (diff)
downloadvyos-1x-b0b03e21d24411c5a994d8e5c8009f39d9b6f639.tar.gz
vyos-1x-b0b03e21d24411c5a994d8e5c8009f39d9b6f639.zip
validator: T3326: add missing interfaces (e.g. ppp and l2tpv3)
(cherry picked from commit f67568bc2307706116f5509fca3a188dc4ab5d48)
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"