From ed2441666a29de49c63f41bc73c073e034fe92a0 Mon Sep 17 00:00:00 2001 From: Christoph Wempe Date: Sun, 26 Mar 2017 16:12:37 +0200 Subject: [PATCH] Tell kernel the hostname (#460) *Tell the kernel what the hostname is * move hostname command a few lines up --- scripts/etc/init.d/rcS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/etc/init.d/rcS b/scripts/etc/init.d/rcS index db4993d7..9aee1da3 100755 --- a/scripts/etc/init.d/rcS +++ b/scripts/etc/init.d/rcS @@ -1011,6 +1011,8 @@ echo "OK" # default hostname echo -n " Configuring hostname... " echo $hostname > /rootfs/etc/hostname || fail +# Tell the kernel what the hostname is supposed to be +hostname $hostname echo "OK" echo -n " Configuring hosts... "