summaryrefslogtreecommitdiff
path: root/src/op_mode/vyos-op-cmd-wrapper.sh
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-01 07:43:18 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-01 17:08:06 +0200
commitb92515dc815959a4efe05e33b0bb8ee9130c40e4 (patch)
tree849b95a040d29a1935915747f9bc07c52f68fb3b /src/op_mode/vyos-op-cmd-wrapper.sh
parent18a6163ed2e0bbbc2924f893e6954a9eba4470b1 (diff)
downloadvyos-1x-b92515dc815959a4efe05e33b0bb8ee9130c40e4.tar.gz
vyos-1x-b92515dc815959a4efe05e33b0bb8ee9130c40e4.zip
T2546: re-add "monitor command" op-mode command with a new "diff" option as well
Diffstat (limited to 'src/op_mode/vyos-op-cmd-wrapper.sh')
-rwxr-xr-xsrc/op_mode/vyos-op-cmd-wrapper.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/op_mode/vyos-op-cmd-wrapper.sh b/src/op_mode/vyos-op-cmd-wrapper.sh
new file mode 100755
index 000000000..a89211b2b
--- /dev/null
+++ b/src/op_mode/vyos-op-cmd-wrapper.sh
@@ -0,0 +1,6 @@
+#!/bin/vbash
+shopt -s expand_aliases
+source /etc/default/vyatta
+source /etc/bash_completion.d/vyatta-op
+_vyatta_op_init
+_vyatta_op_run "$@"