<br><div class="gmail_quote">On Thu, Jun 9, 2011 at 2:53 PM, Thomas Bächler <span dir="ltr"><<a href="mailto:thomas@archlinux.org">thomas@archlinux.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am 09.06.2011 22:15, schrieb Tom Gundersen:<br>
<div class="im">> The question remains: what to do with initscripts. It just needs to<br>
> set the hostname, seems silly to pull in net-tools or inetutils just<br>
> for this...<br>
<br>
</div>Why would it be silly? Anyway:<br>
<br>
echo $HOSTNAME > /proc/sys/kernel/hostname<br>
<br>
No external tools required.<br>
<br>
</blockquote></div><br><div>Thanks, I was about to add that. as far as I know that is all setting the hostname does.</div><div><br></div><div>Also, it would be nice if the hostname command maintained backwards compatibility, a number of my scripts just broke because hostname no longer has the -f option.</div>
<div><br></div><div>-Thomas S Hatch</div>