diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-op-cmd-wrapper | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/vyatta-op-cmd-wrapper b/scripts/vyatta-op-cmd-wrapper index 6610afd..05222bc 100755 --- a/scripts/vyatta-op-cmd-wrapper +++ b/scripts/vyatta-op-cmd-wrapper @@ -1,5 +1,6 @@ #!/bin/vbash -l -VYATTA_USER_LEVEL_DIR=/opt/vyatta/etc/shell/level/admin +shopt -s expand_aliases source /etc/default/vyatta -source /etc/bash_completion.d/vyatta-op-run -_vyatta_op_run $@ +source /etc/bash_completion.d/vyatta-op +_vyatta_op_init +_vyatta_op_run "$@" |