sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] SMGL and crisis management - coming out the other side
- From: Casey Harkins <charkins AT upl.cs.wisc.edu>
- To: nealbirch <nealbirch AT attbi.com>
- Cc: jack AT jbertram.net, <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] SMGL and crisis management - coming out the other side
- Date: Tue, 22 Oct 2002 09:44:09 -0500 (CDT)
On Tue, 22 Oct 2002, nealbirch wrote:
<snip>
> for info in MODULE MODE IP BROADCAST NETMASK GATEWAY; do
> display text (hopefully) explaining what $info is;
> "What does the ethernet card $nicfile use for $info?"
> copy input to ethernet card file.
> done
I think it might be better to unroll the for loop here and just ask the
questions in order. Two reasons:
1) It will allow dialog to be more specific to the question. For example,
the good ole' dynamic/static question could be asked something like this:
dialog --menu "How should this card determine its IP address?" 10 40 2
"DHCP" "" "static" ""
2) The questions asked can be dependent on the input: (hopefully this
beautiful tree will work out :-)
MODULE
|
DHCP vs STATIC
/ \
DONE IP
|
BROADCAST
|
NETMASK
|
GATEWAY
|
DONE
If DHCP is chosen, then IP, BROADCAST, NETMASK and GATEWAY don't need to
be asked.
Also, it might be useful for the MODULE message to mention to leave blank
for static network drivers. IIRC, the networking.sh script still attempts
to "modprobe $MODULE", even if $MODULE is empty. So this would need to be
fixed as well.
-casey
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side
, (continued)
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
nealbirch, 10/20/2002
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
Eric Sandall, 10/20/2002
- Re: [SM-Discuss] SMGL and crisis management - coming out the other side, nealbirch, 10/20/2002
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
jack, 10/21/2002
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
nealbirch, 10/21/2002
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
jack, 10/21/2002
- Re: [SM-Discuss] SMGL and crisis management - coming out the other side, Eric Sandall, 10/21/2002
- Re: [SM-Discuss] SMGL and crisis management - coming out the other side, Casey Harkins, 10/21/2002
- Re: [SM-Discuss] SMGL and crisis management - coming out the other side, nealbirch, 10/21/2002
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
jack, 10/21/2002
- Re: [SM-Discuss] SMGL and crisis management - coming out the other side, nealbirch, 10/22/2002
- Re: [SM-Discuss] SMGL and crisis management - coming out the other side, Casey Harkins, 10/22/2002
- [SM-Discuss] Building a better init system a GNU way - was SMGL and crisis management, nealbirch, 10/22/2002
- [SM-Discuss] Re: Building a better init system a GNU way - was SMGL and crisis management, Casey Harkins, 10/22/2002
- Re: [SM-Discuss] Building a better init system a GNU way - was SMGL and crisis managemen, Adam Clark, 10/22/2002
- Re: [SM-Discuss] Building a better init system a GNU way - was SMGL and crisis managemen, nealbirch, 10/22/2002
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
nealbirch, 10/21/2002
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
Eric Sandall, 10/20/2002
-
Re: [SM-Discuss] SMGL and crisis management - coming out the other side,
nealbirch, 10/20/2002
Archive powered by MHonArc 2.6.24.