]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: make hostname.sh coreutils-compatible
authorRichard Tollerton <rich.tollerton@ni.com>
Thu, 17 Jul 2014 21:56:56 +0000 (16:56 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Jul 2014 23:08:47 +0000 (00:08 +0100)
commitacb8674e498468088d867ffae9a458caa08d95d5
tree0c89b7978e2e334104fa559a88278d78975b24f7
parent0a41a7c20316c7d3330233a624d8cf20ea5a81ae
initscripts: make hostname.sh coreutils-compatible

inetutils and busybox hostname utils support `hostname -F`; coreutils
hostname doesn't. So just use `cat` instead.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initscripts/initscripts-1.0/hostname.sh