diff --git a/man/org.freedesktop.hostname1.xml b/man/org.freedesktop.hostname1.xml index a17339ad07..5b5f4fb3a7 100644 --- a/man/org.freedesktop.hostname1.xml +++ b/man/org.freedesktop.hostname1.xml @@ -81,6 +81,10 @@ node /org/freedesktop/hostname1 { readonly s OperatingSystemCPEName = '...'; @org.freedesktop.DBus.Property.EmitsChangedSignal("const") readonly s HomeURL = '...'; + @org.freedesktop.DBus.Property.EmitsChangedSignal("const") + readonly s HardwareVendor = '...'; + @org.freedesktop.DBus.Property.EmitsChangedSignal("const") + readonly s HardwareModel = '...'; }; interface org.freedesktop.DBus.Peer { ... }; interface org.freedesktop.DBus.Introspectable { ... }; @@ -88,6 +92,10 @@ node /org/freedesktop/hostname1 { }; + + + + @@ -140,6 +148,10 @@ node /org/freedesktop/hostname1 { + + + + Whenever the hostname or other metadata is changed via the daemon, diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index a2a09c28ed..d797324783 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -20,7 +20,6 @@ #include "hostname-setup.h" #include "hostname-util.h" #include "id128-util.h" -#include "libudev.h" #include "main-func.h" #include "missing_capability.h" #include "nscd-flush.h"