summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-08 14:33:43 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-08 14:33:43 -0800
commit6802dcba7c3659459c84f2d14031f4c1a0df7b36 (patch)
treed97090a1a6aede6da25c28962d0df9eea44f2978
parent801a0022aab605fe40a1aca2338dde2fe5004c54 (diff)
downloadvyatta-op-6802dcba7c3659459c84f2d14031f4c1a0df7b36.tar.gz
vyatta-op-6802dcba7c3659459c84f2d14031f4c1a0df7b36.zip
Change vyatta-vtysh to vtysh
-rw-r--r--etc/bash_completion.d/10vyatta-op4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/bash_completion.d/10vyatta-op b/etc/bash_completion.d/10vyatta-op
index 66154f8..7311f6a 100644
--- a/etc/bash_completion.d/10vyatta-op
+++ b/etc/bash_completion.d/10vyatta-op
@@ -429,9 +429,7 @@ _vyatta_pipe_completion ()
return 0
}
-if [ -S /var/run/vyatta/quagga/zebra.vty ] ; then
- declare -x -r _vyatta_vtysh=vyatta-vtysh
-elif [ ! -S /var/run/quagga/zebra.vty ] ; then
+if [ ! -S /var/run/quagga/zebra.vty ] ; then
declare -x -r _vyatta_vtysh=/usr/bin/vtysh
else
declare -x -r _vyatta_vtysh="echo \"Can't connect with zebra daemon to run: vtysh \""