Re: Summary: Using the LSB Bootscripts

2011-05-17 Thread Jeremy Huntwork
On 5/16/11 1:49 AM, Bryan Kadzban wrote: > I'm not sure what the goal *should* be. :-) Does it make sense to try > to clean up completely in this kind of setup? Maybe or maybe not. > > I do think it's least *surprising* to only undo the effects of the start > script, though. For whatever that's

Re: Summary: Using the LSB Bootscripts

2011-05-17 Thread DJ Lucas
On 05/17/2011 08:54 AM, Jeremy Huntwork wrote: On 5/16/11 1:49 AM, Bryan Kadzban wrote: I'm not sure what the goal *should* be. :-) Does it make sense to try to clean up completely in this kind of setup? Maybe or maybe not. I do think it's least *surprising* to only undo the effects of the s

Re: Summary: Using the LSB Bootscripts

2011-05-17 Thread DJ Lucas
On 05/17/2011 08:54 AM, Jeremy Huntwork wrote: > > I do think we're getting a little overcomplicated here. Let's try to > simplify expectations. Here's what I expect (and I *think* this is > reasonable - you tell me :-) ) > > When I run the equivalent of /etc/init.d/network stop: > > All devices co

Re: Summary: Using the LSB Bootscripts

2011-05-17 Thread Bryan Kadzban
Jeremy Huntwork wrote: > On 5/16/11 1:49 AM, Bryan Kadzban wrote: >> I'm not sure what the goal *should* be. :-) Does it make sense to >> try to clean up completely in this kind of setup? Maybe or maybe >> not. >> >> I do think it's least *surprising* to only undo the effects of the >> start sc

Re: Summary: Using the LSB Bootscripts

2011-05-17 Thread Bryan Kadzban
Few nits related to the shell. In the network script: > # Process individual configuration files > for file in `ls "${dir}"`; do Ew. :-) How about: for file in "${dir}"/* ; do ONBOOT=`grep "ONBOOT" "${file}" | sed ... ... (since it always does a ${dir}/${file} as