On 3/12/02 at 7:31 AM, Ray Olszewski <[EMAIL PROTECTED]> wrote:

> 1. Is incorporating a "diagnostics" script in into each
> LEAF distribution a good idea?

I think so.

> But ... the FAQ mentions optional information, to be
> supplied if circumstances warrant; how does one sensibly
> incorporate that into a script? (Like all of us, I want
> users to post enough information, but not too much.)

#!/bin/sh

echo -n "Do you wish to generate diagnostics for...? [Yn] "
read X
if [ "$X" = "y" -o "$X" = "Y" -o -z "$X" ] ; then
   gen_diagnostics...
fi

> 2. What should the FAQ tell users about collecting
> troubleshooting data? Well, the discussion makes it clear
> that a *standard* script that works across all LEAF
> variants is either impractical or complicated (probably
> just complicated). In any case, the FAQ itself can't
> reasonably provide such a script. So I'd suggest the FAQ
> retain the list of commands to use, and it can incorporate
> references to scripts when they actually exist. But ... it
> should always include the actual commands, because that is
> part of the teaching role the FAQ can serve, helping the
> user learn how to troubleshoot his or her own systems, not
> *just* how to gather data for us to look at.

I don't think a script would be that hard or that big; however, I
agree wholeheartedly anyhow.
--
David Douthitt
UNIX Systems Administrator
HP-UX, Unixware, Linux
[EMAIL PROTECTED]

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to