File debian.postinst of Package power-options-daemon

#!/bin/sh
set -e

if [ "$1" = "configure" ]; then
    power-daemon-mgr setup
    systemctl daemon-reload
    systemctl restart acpid.service
    systemctl enable --now power-options.service
fi

exit 0
openSUSE Build Service is sponsored by