1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
post_install() { power-daemon-mgr setup systemctl daemon-reload systemctl restart acpid.service systemctl enable --now power-options.service } post_upgrade() { systemctl daemon-reload systemctl restart acpid.service systemctl restart power-options.service } post_remove() { systemctl daemon-reload }