summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg5
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