# Move the polkit dbus configuration files to the proper place: mkdir -p $PKG/etc mv $PKG/etc/kde/dbus-1 $PKG/etc/ mkdir -p $PKG/etc/polkit-1/localauthority/50-local.d chmod 700 $PKG/etc/polkit-1/localauthority # Add polkit policy file that brings back suspend/hibernate options: install -m 0660 -o root \ $CWD/post-install/powerdevil/30-org.freedesktop.upower.pkla \ $PKG/etc/polkit-1/localauthority/50-local.d/30-org.freedesktop.upower.pkla.new # Add polkit policy files that bring back shutdown/reboot: install -m 0660 -o root \ $CWD/post-install/powerdevil/40-org.freedesktop.consolekit.system.stop-multiple-users.pkla \ $PKG/etc/polkit-1/localauthority/50-local.d/40-org.freedesktop.consolekit.system.stop-multiple-users.pkla.new install -m 0660 -o root \ $CWD/post-install/powerdevil/41-org.freedesktop.consolekit.system.restart-multiple-users.pkla \ $PKG/etc/polkit-1/localauthority/50-local.d/41-org.freedesktop.consolekit.system.restart-multiple-users.pkla.new