Add XXX and mention /etc/os-release for our_get_os_cpename().
authorAntoine Jacoutot <ajacoutot@bsdfrog.org>
Sat, 16 Aug 2014 16:41:46 +0000 (18:41 +0200)
committerAntoine Jacoutot <ajacoutot@bsdfrog.org>
Sat, 16 Aug 2014 16:41:46 +0000 (18:41 +0200)
src/interfaces/hostnamed/hostnamed.c

index 9bc1f9e7d0b4164a3130d1f5823c39626825679b..3dae12ce0062c31ce77f37e87a89d6181a1f46e5 100644 (file)
@@ -628,7 +628,8 @@ our_get_kernel_release() {
 const gchar *
 our_get_os_cpename() {
 
-    return "ONEDAY";
+    /* XXX needs to parse /etc/os-release (fallback to /usr/local/lib/os-release) */
+    return "";
 }
 
 const gchar *