void-packages/srcpkgs/enlightenment/patches/sysactions_systemd.patch

18 lines
739 B
Diff
Raw Normal View History

2012-12-22 08:13:04 +01:00
--- 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