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 b36c3cf..d8b59e9 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -1395,6 +1395,11 @@ set_config_ps1 '' alias set=/opt/vyatta/sbin/my_set alias delete=/opt/vyatta/sbin/my_delete +# ignore run_init unless selinux is enabled +if ! -d /selinux; then + alias run_init= +fi + export VYATTA_COMP_LINE="" # readline bindings |