summaryrefslogtreecommitdiff
path: root/extra/enlightenment17/sysactions_systemd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/enlightenment17/sysactions_systemd.patch')
-rw-r--r--extra/enlightenment17/sysactions_systemd.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/enlightenment17/sysactions_systemd.patch b/extra/enlightenment17/sysactions_systemd.patch
new file mode 100644
index 000000000..5d535dd60
--- /dev/null
+++ b/extra/enlightenment17/sysactions_systemd.patch
@@ -0,0 +1,17 @@
+--- data/etc/sysactions.conf.in 2012-10-31 17:28:49.000000000 +0100
++++ data/etc/sysactions.conf.in.bak 2012-11-27 19:27:15.955334382 +0100
+@@ -43,10 +43,10 @@
+ # user and group name can use glob matches (* == all for example) like the
+ # shell. as can action names allowed or denied.
+
+-action: halt /sbin/shutdown -h now
+-action: reboot /sbin/shutdown -r now
+-action: suspend @SUSPEND@
+-action: hibernate @HIBERNATE@
++action: halt /usr/bin/systemctl poweroff
++action: reboot /usr/bin/systemctl reboot
++action: suspend /usr/bin/systemctl suspend
++action: hibernate /usr/bin/systemctl hibernate
+ action: /bin/mount /bin/mount
+ action: /bin/umount /bin/umount
+ action: /usr/bin/eject /usr/bin/eject