summaryrefslogtreecommitdiff
path: root/man/org.freedesktop.hostname1.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-01-23 03:12:35 +0900
committerLuca Boccassi <luca.boccassi@gmail.com>2022-01-24 21:09:37 +0000
commit9697662915e47a4797b05003cb1970fe2b01e530 (patch)
tree62cfef6e12b0052fc87562a6834685b867efd012 /man/org.freedesktop.hostname1.xml
parentf338a496e48392929400916ebb0eb9819dec1e2b (diff)
downloadsystemd-9697662915e47a4797b05003cb1970fe2b01e530.tar.gz
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"/>