post_install() { echo "Enabling systemd service" systemctl enable upower.service } post_upgrade() { post_install } pre_remove() { echo "Disabling systemd service" systemctl disable upower.service }