summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnicronNL <kim.sidney@gmail.com>2018-09-14 22:28:15 +0200
committerUnicronNL <kim.sidney@gmail.com>2018-09-14 22:28:15 +0200
commit0bf2572898cd29ba36c467e1b952df292a6733f7 (patch)
tree4052bd61c9372f9878f45ca4fcdcdf3fa753d9bb
parentf16804ac5be71e69b6b33b4d26d2a71d5ae56208 (diff)
downloadvyatta-op-0bf2572898cd29ba36c467e1b952df292a6733f7.tar.gz
vyatta-op-0bf2572898cd29ba36c467e1b952df292a6733f7.zip
T846 RADIUS user you no longer have access to the “?” when entering commands.
-rw-r--r--etc/bash_completion.d/vyatta-op4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op
index 1188a30..a591b33 100644
--- a/etc/bash_completion.d/vyatta-op
+++ b/etc/bash_completion.d/vyatta-op
@@ -37,8 +37,8 @@ test -z "$VYATTA_PAGER" && \
_vyatta_op_do_key_bindings ()
{
- if [ "$SHELL" != "/bin/vbash" ]; then
- # only do bindings if vbash
+ if [ "$SHELL" != "/bin/vbash" && "$SHELL" != "/sbin/radius_shell" ]; then
+ # only do bindings if vbash and radius_shell
return
fi
nullglob_save=$(shopt -p nullglob)