diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index 070d50f..fe21835 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -714,6 +714,11 @@ alias copy=/opt/vyatta/sbin/my_copy alias comment=/opt/vyatta/sbin/my_comment alias discard=/opt/vyatta/sbin/my_discard +# ignore run_init unless selinux is enabled +if ! -d /selinux; then + alias run_init= +fi + export VYATTA_COMP_LINE="" # readline bindings |