summarylogtreecommitdiffstats
path: root/services.install
blob: 2d67c008ee77bf3418f3752bf389552024579c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
	systemctl enable cec-toolbox-wakeup
	systemctl enable cec-toolbox-suspend
	systemctl enable cec-toolbox-poweroff --now
}

post_upgrade() {
	systemctl daemon-reload
}

pre_remove() {
	systemctl disable cec-toolbox-wakeup
	systemctl disable cec-toolbox-suspend
	systemctl disable cec-toolbox-poweroff
}