From 10a8947704132e49ae5f119e5f7b8a922a69d4ac Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 19 Mar 2010 17:30:55 -0700 Subject: Remove old vtysh alias No longer need/want vtysh to be an alias in operational mode. --- etc/bash_completion.d/10vyatta-op | 8 -------- 1 file changed, 8 deletions(-) diff --git a/etc/bash_completion.d/10vyatta-op b/etc/bash_completion.d/10vyatta-op index 7311f6a..c69c40f 100644 --- a/etc/bash_completion.d/10vyatta-op +++ b/etc/bash_completion.d/10vyatta-op @@ -429,14 +429,6 @@ _vyatta_pipe_completion () return 0 } -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 \"" -fi - -alias vtysh=$_vyatta_vtysh - nullglob_save=$( shopt -p nullglob ) shopt -s nullglob for f in ${vyatta_datadir}/vyatta-op/functions/allowed/* ; do -- cgit v1.2.3