From: kremlin Date: Mon, 25 Aug 2014 07:07:10 +0000 (-0500) Subject: if /etc/myname lacks a trailing domain, do not force the default X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=commitdiff_plain;h=b08f162204d49c06495911ee64486882ddbdfe7e;p=systembsd.git if /etc/myname lacks a trailing domain, do not force the default discussed with ajacoutot --- diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c index fb17f4f..a320e2e 100644 --- a/src/interfaces/hostnamed/hostnamed.c +++ b/src/interfaces/hostnamed/hostnamed.c @@ -110,7 +110,7 @@ const gchar *server_archs[] = { "sparc64" }; -static const gchar *DEFAULT_DOMAIN = ".home.network"; +static const gchar *DEFAULT_DOMAIN = ""; /* blank domains are OK for now */ static const gchar *OS_HOSTNAME_PATH = "/etc/myname"; static const gchar *OS_CONFIG_PATH = "/etc/machine-info";