Re: starting cupsd at boot Joseph Rosevear <joe@max.hopto.org> wrote:
> Vwaju <lou@manhattanhandyman.com> wrote:
> [snip]
> > Yes, thank you. So somewhere, there is a script that checks to see if
> > rc.cups is executable and if it is, runs it. Can you tell me what the
> > script is that runs rc.cups? (I tried to write a script with a for-
> > loop to grep all the files in rc.d for rc.cups, but my shell
> > programming is a little rusty...)
> Here's a script that I use:
Uh, oh. I made the grand point, but missed the obvious. You can get
sub directories this way:
grep <string> <dir> -r
I've been in the habit of using "forall".
The script forall has other uses too, but that is OT.
-Joe |