Skip to content

Commit

Permalink
Tell kernel the hostname (#460)
Browse files Browse the repository at this point in the history
*Tell the kernel what the hostname is

* move hostname command a few lines up
  • Loading branch information
CWempe authored and Mausy5043 committed Mar 26, 2017
1 parent f69e3d7 commit ed24416
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/etc/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -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... "
Expand Down

0 comments on commit ed24416

Please sign in to comment.