diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-04 04:55:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-04 04:55:33 +0200 |
commit | 5bd0707340570f48675a53f5dec8dd34b162e415 (patch) | |
tree | 114026c2b38b106da97025bfa73184a0e49ad9ec /src/dbus-automount.c | |
parent | f295f5c0c0a31afd1914adf5d8a4d7f51e8e0be0 (diff) |
dbus: complete automount and mount unit coverage
Diffstat (limited to 'src/dbus-automount.c')
-rw-r--r-- | src/dbus-automount.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dbus-automount.c b/src/dbus-automount.c index 61732f989f..ada2d22ca3 100644 --- a/src/dbus-automount.c +++ b/src/dbus-automount.c @@ -25,6 +25,7 @@ #define BUS_AUTOMOUNT_INTERFACE \ " <interface name=\"org.freedesktop.systemd1.Automount\">\n" \ " <property name=\"Where\" type=\"s\" access=\"read\"/>\n" \ + " <property name=\"DirectoryMode\" type=\"u\" access=\"read\"/>\n" \ " </interface>\n" #define INTROSPECTION \ @@ -41,7 +42,8 @@ const char bus_automount_interface[] = BUS_AUTOMOUNT_INTERFACE; DBusHandlerResult bus_automount_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) { const BusProperty properties[] = { BUS_UNIT_PROPERTIES, - { "org.freedesktop.systemd1.Automount", "Where", bus_property_append_string, "s", u->automount.where }, + { "org.freedesktop.systemd1.Automount", "Where", bus_property_append_string, "s", u->automount.where }, + { "org.freedesktop.systemd1.Automount", "DirectoryMode", bus_property_append_mode, "u", &u->automount.directory_mode }, { NULL, NULL, NULL, NULL, NULL } }; |