chiark / gitweb /
dbus: better don't expose options we better shouldn't exposed
[elogind.git] / src / core / device.c
index f2bb656397a4aa85a20cc7b1517466272386523f..cd0a09954620b0396f11c59d3172ca09d0001783 100644 (file)
@@ -613,5 +613,15 @@ const UnitVTable device_vtable = {
         .following_set = device_following_set,
 
         .enumerate = device_enumerate,
-        .shutdown = device_shutdown
+        .shutdown = device_shutdown,
+
+        .status_message_formats = {
+                .starting_stopping = {
+                        [0] = "Expecting device %s...",
+                },
+                .finished_start_job = {
+                        [JOB_DONE]       = "Found device %s.",
+                        [JOB_TIMEOUT]    = "Timed out waiting for device %s.",
+                },
+        },
 };