diff options
author | Misaka19465 | 2022-09-24 14:16:43 +0800 |
---|---|---|
committer | Misaka19465 | 2022-09-24 14:16:43 +0800 |
commit | 9643ed77319d3282042cf77ac72c4710c9b165a0 (patch) | |
tree | cbcfa62f6d5453a13dd55a9baabd1e5cd37a81ef /disable-c6-systemd-with-modern-standby.install | |
download | aur-9643ed77319d3282042cf77ac72c4710c9b165a0.tar.gz |
Initial commit
Diffstat (limited to 'disable-c6-systemd-with-modern-standby.install')
-rw-r--r-- | disable-c6-systemd-with-modern-standby.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/disable-c6-systemd-with-modern-standby.install b/disable-c6-systemd-with-modern-standby.install new file mode 100644 index 000000000000..cd3cb2314a4b --- /dev/null +++ b/disable-c6-systemd-with-modern-standby.install @@ -0,0 +1,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 +} |