<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">On 12/20/2012 8:13 PM, John Hupp wrote:</font><br>
    <blockquote cite="mid:50D3B7AE.3080701@prpcompany.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">On 12/20/2012 4:56 PM, Jonathan
        Marsden wrote:<br>
      </div>
      <blockquote cite="mid:50D38998.5010705@fastmail.fm" type="cite">
        <pre wrap="">On 12/20/2012 07:23 AM, John Hupp wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">I also tried

    sed -e 's/DEVICE$/DEVICE Lubuntu1:3551/'

And that had no effect whatsoever.  The result was still "DEVICE
Lubuntu1:3551 Lubuntu1:3551".
</pre>
        </blockquote>
        <pre wrap="">That makes no sense to me at all, if the file originally had a line
containing only DEVICE (you did check that, right?).  But

</pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">      sed -e 's/DEVICE.*$/DEVICE Lubuntu1:3551/'
</pre>
          </blockquote>
        </blockquote>
        <pre wrap="">might still be worth a shot.  Also, can you re-verify exactly what the
file has in it *before* you do all this sed editing on it?  Is there a
line containing only the word "DEVICE" ?

Is there any chance something else is editing the DEVICE line, so you do
not need to do so?  If you omit this edit (for DEVICE) but leave all the
others in place, what does the final file look like?

Jonathan

</pre>
      </blockquote>
      <br>
      <font size="-1">Thanks for giving this a good look.  I can verify
        now that the script is doing its job.  Something else is
        overwriting the file again after that.<br>
        <br>
        Given the nature of the overwrite, I have to think that I must
        have set in place whatever is doing the damage.  Probably some
        earlier troubleshooting attempt which I did not record and have
        now forgotten.  If I can't remember then I suppose I'll have to
        look through every location where something can start from in an
        LTSP client bootup.</font><br>
      <font size="-1"><br>
      </font></blockquote>
    <font size="-1"><br>
      OK, got it!<br>
      <br>
      In some bleary-eyed moment two weeks ago I inserted the script in
      /usr/share/ltsp/ltsp_config.d as well as in
      /usr/share/ltsp/init-ltsp.d.  Apparently both locations launch
      startup scripts in the LTSP client environment only.  Undoubtedly
      they are designed for different functional groupings or for
      intentional sequencing of certain kinds of configurations.  But
      both launch locations serve effectively for modifying this
      particular configuration file (twice).<br>
      <br>
      A big thank-you to everyone who responded and prodded my mental
      processes.</font><br>
    <br>
  </body>
</html>