diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-25 03:11:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-25 03:11:26 +0200 |
commit | d3689161a2870a56ba5a2837daa2ca3463e24710 (patch) | |
tree | 32b34eae66a613db706284e6e113a44fccb9f44e /src/dbus-manager.c | |
parent | man: minor updates (diff) | |
download | systemd-d3689161a2870a56ba5a2837daa2ca3463e24710.tar.xz systemd-d3689161a2870a56ba5a2837daa2ca3463e24710.zip |
mount: add global configuration options for handling of auto mounts
Diffstat (limited to 'src/dbus-manager.c')
-rw-r--r-- | src/dbus-manager.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dbus-manager.c b/src/dbus-manager.c index eb3768455c..557124712a 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -141,6 +141,9 @@ " <property name=\"SysVRcndPath\" type=\"as\" access=\"read\"/>\n" \ " <property name=\"NotifySocket\" type=\"s\" access=\"read\"/>\n" \ " <property name=\"ControlGroupHierarchy\" type=\"s\" access=\"read\"/>\n" \ + " <property name=\"MountOnPlug\" type=\"b\" access=\"read\"/>\n" \ + " <property name=\"SwapOnPlug\" type=\"b\" access=\"read\"/>\n" \ + " <property name=\"MountAuto\" type=\"b\" access=\"read\"/>\n" \ " </interface>\n" #define INTROSPECTION_BEGIN \ @@ -252,6 +255,9 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, { "org.freedesktop.systemd1.Manager", "SysVRcndPath", bus_property_append_strv, "as", m->lookup_paths.sysvrcnd_path }, { "org.freedesktop.systemd1.Manager", "NotifySocket", bus_property_append_string, "s", m->notify_socket }, { "org.freedesktop.systemd1.Manager", "ControlGroupHierarchy", bus_property_append_string, "s", m->cgroup_hierarchy }, + { "org.freedesktop.systemd1.Manager", "MountOnPlug", bus_property_append_bool, "b", &m->mount_on_plug }, + { "org.freedesktop.systemd1.Manager", "SwapOnPlug", bus_property_append_bool, "b", &m->swap_on_plug }, + { "org.freedesktop.systemd1.Manager", "MountAuto", bus_property_append_bool, "b", &m->mount_auto }, { NULL, NULL, NULL, NULL, NULL } }; |