chiark / gitweb /
hostname: on all distros make the name configured in /etc/hostname take precedence...
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Aug 2010 01:02:22 +0000 (03:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Aug 2010 01:02:22 +0000 (03:02 +0200)
commite59077036bcf5a041e336f04cb0d2f7d18d489a1
tree1a3faa8c89346298fdc22fce993619726d6d8889
parent490ebb027d4ca2b26f1ed2a93cdac67460eb1eb5
hostname: on all distros make the name configured in /etc/hostname take precedence over distro-specific configuration

In order to unify configuration across distributions we pick the
simple-most option by default (Debian's /etc/hostname) and then fall
back to distro-specific hacks if that doesn't exist.
.gitignore
Makefile.am
fixme
src/hostname-setup.c
src/test-hostname.c [new file with mode: 0644]