When trying to complete options for an /etc/init.d/* script, it completes only "extra" options, not the standard ones. For example: # /etc/init.d/iptables <TAB><TAB> panic reload save But iptables script has also standard options like start, stop, restart, pause and zap however these are not offered by the bash completion. Tested on stable amd64 with app-shells/gentoo-bashcomp-20090613 and sys-apps/baselayout-1.12.13. Expected result is that bash completion will offer all possible options for init scripts. So for above example it would look like: # /etc/init.d/iptables <TAB><TAB> start stop restart pause zap panic reload save
confirmed. It is only for init scripts *with* extra options though.
*** Bug 360083 has been marked as a duplicate of this bug. ***