service restart

Erik Christiansen erik at dd.nec.com.au
Mon Jul 31 02:36:05 UTC 2006


On Fri, Jul 28, 2006 at 07:44:43PM +1000, Peter Garrett wrote:
> 
> # enable programmable completion ....
> 
> So that they look like:
> 
> if [ -f /etc/bash_completion ]; then
>     . /etc/bash_completion
> 

Peter,

Many thanks. I'll use that. (Even if _command() isn't guaranteed to
always work. ;-)

Apropos the original topic, it seems simpler and more direct to just add
/etc/init.d/ to $PATH, rather than employ symlinks, shell functions, or
borrow invoke-rc.d, which may carry unwanted debian package maintainer
script baggage.

Then, instead of "invoke-rc.d ..." type stuff, it's just:

# networking restart

Erik

Who is more "What" than "How" oriented.




More information about the ubuntu-users mailing list