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:59 +0000 (00:08 +0100)
commit8acb004650419802fefe0f794895f0b890acb5cf
tree77635baaf479de39310da6c29672db4618caa6e9
parent14fdf5b8219e1771a09082bcfa227f4eb1f8333d
initscripts: make hostname.sh coreutils-compatible

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

(From OE-Core rev: acb8674e498468088d867ffae9a458caa08d95d5)

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