<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 11:58 PM, paul g <span dir="ltr"><<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div dir="ltr"><code><span class="">sudo sed -i s/UTC=yes/UTC=no/ /etc/default/rcS<br><br></span>the -i = 'an extension' <-- how is this separating ' s/UTC=yes/UTC=no/ </code>/etc/default/rcS 'without using initramfs prior to boot etc?<br></div></div></blockquote><div><br></div><div>What are you talking about? <br><br><br></div><div>man sed:<br><br><pre> -i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)<br><br></pre><pre>This has nothing to do with 'separating' anything, and why would initramfs have anything to do with editing a config file with sed?<br><br></pre><pre>Please look into hwclock -- that is the correct way to manipulate the hardware clock.<br><br>Jeff<br></pre><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="ltr"><code></code><br><div><hr>To: <a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><span class=""><br>Date: Fri, 2 Jan 2015 23:42:31 -0600<br>From: <a href="mailto:kelly.black@penguinpackets.com" target="_blank">kelly.black@penguinpackets.com</a><br></span><span class="">Subject: Re: [tclug-list] Bios clock and Linux UTC clock refuse to set at the same time.<br><br>
Paul,<br>
To set the system clock to the hardware clock<br>
hwclock --hctosys<br>
Other way around:<br>
hwclock --systohc<br>
You should be able to check the hardware clock by issuing:<br>
hwclock<br>
That will give you an idea of how far off the hardware clock is. If it is skewed far enough, you will probably want to go in to the bios on a reboot and update it. If it does not stick past power outages, you might want to replace the cmos battery on the motherboard.<br>
Hope that helps.<br>
<br>
<blockquote>
<div><span>Fri Jan 02 2015 10:11:42 PM CST</span> <span>from "paul g" <<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>> </span> <span>Subject: Re: [tclug-list] Bios clock and Linux UTC clock refuse to set at the same time.</span></div>
<div>
<table width="100%">
<tbody>
<tr>
<td>
<div dir="ltr">
<div dir="ltr">The question is 'how can I set the hardware clock to coorolate with the Linux clock'.<br><br>My apologies. <br><br>Happy New year and thank you with the updatedb stuff' meant alot.<br><br>paul g<br><br><br></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
<br></span><span class="">_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a></span></div> </div></div>
<br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Jeff Chapin<br>President, CedarLug, retired<br>President, UNIPC, "I'll get around to it"<br>President, UNI Scuba Club<br>Senator, NISG, retired</div>
</div></div>