summaryrefslogtreecommitdiffstats
path: root/man/org.freedesktop.hostname1.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-01-22 19:12:35 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2022-01-24 22:09:37 +0100
commit9697662915e47a4797b05003cb1970fe2b01e530 (patch)
tree62cfef6e12b0052fc87562a6834685b867efd012 /man/org.freedesktop.hostname1.xml
parentNEWS: update (diff)
downloadsystemd-9697662915e47a4797b05003cb1970fe2b01e530.tar.xz
systemd-9697662915e47a4797b05003cb1970fe2b01e530.zip
hostname: expose hardware serial through dbus
Closes #22119.
Diffstat (limited to 'man/org.freedesktop.hostname1.xml')
-rw-r--r--man/org.freedesktop.hostname1.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/org.freedesktop.hostname1.xml b/man/org.freedesktop.hostname1.xml
index 4f51cd5e80..5e3bb7807d 100644
--- a/man/org.freedesktop.hostname1.xml
+++ b/man/org.freedesktop.hostname1.xml
@@ -58,6 +58,8 @@ node /org/freedesktop/hostname1 {
in b interactive);
GetProductUUID(in b interactive,
out ay uuid);
+ GetHardwareSerial(in b interactive,
+ out s serial);
Describe(out s json);
properties:
readonly s Hostname = '...';
@@ -93,6 +95,8 @@ node /org/freedesktop/hostname1 {
};
</programlisting>
+ <!--method GetHardwareSerial is not documented!-->
+
<!--property HardwareVendor is not documented!-->
<!--property HardwareModel is not documented!-->
@@ -119,6 +123,8 @@ node /org/freedesktop/hostname1 {
<variablelist class="dbus-method" generated="True" extra-ref="GetProductUUID()"/>
+ <variablelist class="dbus-method" generated="True" extra-ref="GetHardwareSerial()"/>
+
<variablelist class="dbus-method" generated="True" extra-ref="Describe()"/>
<variablelist class="dbus-property" generated="True" extra-ref="Hostname"/>