Systemd/src/hostname
Lennart Poettering fda2c5d28b hostnamectl: if somebody invokes 'hostnamectl set-hostname' with a valid internet hostname unset the pretty name
If people are unaware or uninterested in the concept of pretty host
names, and simply invoke "hostnamectl set-hostname" for a valid internet
host name, then use this as indication to unset the pretty host name and
only set the static/dynamic one.

This also allows fqdn, hence "hostnamectl set-hostname www.foobar.com"
will just work if people really insist on using fqdns as hostnames.
2013-04-03 22:06:16 +02:00
..
.gitignore
hostnamectl.c hostnamectl: if somebody invokes 'hostnamectl set-hostname' with a valid internet hostname unset the pretty name 2013-04-03 22:06:16 +02:00
hostnamed.c hostnamectl: if somebody invokes 'hostnamectl set-hostname' with a valid internet hostname unset the pretty name 2013-04-03 22:06:16 +02:00
Makefile
org.freedesktop.hostname1.conf
org.freedesktop.hostname1.policy.in
org.freedesktop.hostname1.service