On Thu, Jun 9, 2011 at 2:53 PM, Thomas Bächler <[email protected]> wrote:
> Am 09.06.2011 22:15, schrieb Tom Gundersen: > > The question remains: what to do with initscripts. It just needs to > > set the hostname, seems silly to pull in net-tools or inetutils just > > for this... > > Why would it be silly? Anyway: > > echo $HOSTNAME > /proc/sys/kernel/hostname > > No external tools required. > > Thanks, I was about to add that. as far as I know that is all setting the hostname does. 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. -Thomas S Hatch
