I found out that service command which is not present in debian and make quite 
the thame job is handled by bash_completion.

I looked into the script an I've seen that there's a function almost ready to 
use : service() .

I changed a few lines and it seem to work, with all /etc/init.d script as 
first parameter and with {start|stop|reload|...} in second parameter when 
available.

I hope you will use it :-)

Here is the patch :

http://madcat227.free.fr/debian/forum/completion/bash_completion.diff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to