summaryrefslogtreecommitdiff
path: root/scripts/vyatta-op-cmd-wrapper
diff options
context:
space:
mode:
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 $@