summarylogtreecommitdiffstats
path: root/disable-c6-systemd-with-modern-standby.install
blob: cd3cb2314a4b2ddf20d8b961a9d0536e7c8ff525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
	echo "Don't forget to enable and start the service:"
  echo "  systemctl enable disable-c6.service"
  echo "  systemctl start disable-c6.service"
  echo "In order to recover modern standby:"
  echo "  systemctl enable enable-c6.service"
  echo "  systemctl start enable-c6.service"
  systemctl daemon-reload
}

post_upgrade() {
	systemctl daemon-reload
}

pre_remove() {
  systemctl stop disable-c6.service
  systemctl disable disable-c6.service
  systemctl stop enable-c6.service
  systemctl disable enable-c6.service
}