diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-28 10:22:26 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-28 10:22:26 -0700 |
commit | abc2986d38f4b6f7a7ccc0fd3fb10e4f21652209 (patch) | |
tree | 9d34a7b6d88f279d0f1ba2ce77d87271d44fc6ee /etc | |
parent | 0247864ef578ac05bbac8dc5175e674ce7b82714 (diff) | |
download | vyatta-cfg-abc2986d38f4b6f7a7ccc0fd3fb10e4f21652209.tar.gz vyatta-cfg-abc2986d38f4b6f7a7ccc0fd3fb10e4f21652209.zip |
Ignore run_init unless running in selinux
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 |