diff options
-rw-r--r-- | README | 7 | ||||
-rwxr-xr-x | vdrpbd | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -14,3 +14,10 @@ Features: - Systemd integration. If systemd is detected, then vdrpbd tries to register itself as "power button inhibitor". The module "Net::DBus" is required for this to work. + Note that this requires systemd version 201 or later and vdrpbd has to be + started by systemd (systemctl start vdrpbd): + http://lists.freedesktop.org/archives/systemd-devel/2013-April/010171.html + For older systemd versions you have to add the following line to your + /etc/systemd/logind.conf: + + HandlePowerKey=ignore @@ -231,9 +231,10 @@ sub SendDBus { sub SystemdInhibit { # HACK... Add support for UNIX FD return values to Net::DBus. - # 2013-01-24: Patch has been mailed to module developer + # 2013-01-24: Mailed patch to module developer # 2013-02-07: First reply from developer --> Patch will be added after review # 2013-03-27: Sent mail asking for an update about current status + # 2013-04-05: https://gitorious.org/net-dbus/net-dbus/commit/5bf227d unless (exists $Net::DBus::Binding::Introspector::simple_type_rev_map{ord('h')}) { $Net::DBus::Binding::Introspector::simple_type_rev_map{ord('h')} = 'unixfd'; $Net::DBus::Binding::Introspector::simple_type_map{'unixfd'} = ord('h'); |