Herbert Xu writes ("Re: Bug#218530: Suboptimal conditional rune for initscripts"):
> You'd better make that simply "type" so that it will work with
> POSIX shells other than bash. Besides, there is no reason to
> rule out aliases/functions/builtins since when invoke-rc.d is
> actually run those things will all be considered by the shell.
Err, you're quite right.
Ian.