[systemd-devel] [PATCH 3/3] dbus: make the service property StartLimitAction writeable

2012-04-06 Thread Michael Olbrich
--- src/dbus-service.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dbus-service.c b/src/dbus-service.c index 7809164..d840415 100644 --- a/src/dbus-service.c +++ b/src/dbus-service.c @@ -48,7 +48,7 @@ " \n" \ " \n" \ " \n" \ -

[systemd-devel] [PATCH] watchdog: really return the actual watchdog timeout

2012-04-06 Thread Michael Olbrich
In the current code setting the return argument is never reached. --- src/watchdog.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/watchdog.c b/src/watchdog.c index 9625e15..372c16f 100644 --- a/src/watchdog.c +++ b/src/watchdog.c @@ -98,6 +98,7 @@ static int o

[systemd-devel] [PATCH 2/3] dbus: add generic DEFINE_BUS_PROPERTY_SET_ENUM() macro for enum properties

2012-04-06 Thread Michael Olbrich
The defined function can be used as BusPropertySetCallback. --- src/dbus-common.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/dbus-common.h b/src/dbus-common.h index 1dc0f59..892d129 100644 --- a/src/dbus-common.h +++ b/src/dbus-common.h @@ -160,6 +160,21 @@ int bus

[systemd-devel] [PATCH 0/3] make the service property StartLimitAction writeable

2012-04-06 Thread Michael Olbrich
Hi, I sent this before, but I didn't get any comments. This is the same series rebased onto the current master. This patch series make the service property StartLimitAction writeable. The first two patches are preparation to make it posible. The third patch actually implements this. Why this is us

[systemd-devel] [PATCH 1/3] dbus: add data argument to BusPropertySetCallback

2012-04-06 Thread Michael Olbrich
BusPropertyCallback already has the argument. It is necesary for the callback to know what data to access. --- src/dbus-common.c |6 +- src/dbus-common.h |2 +- src/dbus-manager.c |4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/dbus-common.c b/src/dbu

[systemd-devel] [PATCH] udev/keymap: always use /bin/sh shebang

2012-04-06 Thread Dave Reisner
This matches what's done in the other shell scripts in this directory. /bin/sh can never be wrong, but prepending the rootprefix will lead to an invalid path with a rootprefix of /usr and --enable-split-usr. --- src/udev/keymap/keyboard-force-release.sh.in |2 +- 1 file changed, 1 insertion(+)