summaryrefslogtreecommitdiff
path: root/scripts/vyatta-op-cmd-wrapper
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-04-23 12:48:18 -0700
committerJohn Southworth <john.southworth@vyatta.com>2011-04-23 12:48:18 -0700
commit1d0cd8922bab1d8d53b886b8287baeb22979d087 (patch)
treef01a00eb1e79279a06395a9d718508015da3a18b /scripts/vyatta-op-cmd-wrapper
parent17e28be540ef15c57d11b07cb8b9ad1365163078 (diff)
downloadvyatta-op-1d0cd8922bab1d8d53b886b8287baeb22979d087.tar.gz
vyatta-op-1d0cd8922bab1d8d53b886b8287baeb22979d087.zip
Initial addition of image op mode tools
Diffstat (limited to 'scripts/vyatta-op-cmd-wrapper')
-rwxr-xr-xscripts/vyatta-op-cmd-wrapper5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vyatta-op-cmd-wrapper b/scripts/vyatta-op-cmd-wrapper
new file mode 100755
index 0000000..6610afd
--- /dev/null
+++ b/scripts/vyatta-op-cmd-wrapper
@@ -0,0 +1,5 @@
+#!/bin/vbash -l
+VYATTA_USER_LEVEL_DIR=/opt/vyatta/etc/shell/level/admin
+source /etc/default/vyatta
+source /etc/bash_completion.d/vyatta-op-run
+_vyatta_op_run $@