Most systems seem to read the contents of /etc/hostname/etc/hostname
and make a call to /bin/hostname/bin/hostname
during the system startup from an init.d (or similar) script.
Raspbian Jessie appears to have a different way to do this. I've modified the /etc/hostname/etc/hostname
file to a new name, and I've renamed /bin/hostname/bin/hostname
to /bin/bup/bin/bup
.hostname so that any init scripts will not be able to find it. But the system boots up and uses the new host name, confirmed by running /bin/bup.hostname/bin/bup.hostname
.
What is going on here?