diff options
author | Tony Lambiris | 2018-10-01 17:46:41 -0400 |
---|---|---|
committer | Tony Lambiris | 2018-10-01 17:46:41 -0400 |
commit | c8533ffe88132fc82bca1e589a0920c37d90f246 (patch) | |
tree | 8a856a8bde87ad1ce62379db896ab00a0d91c1e2 /linux.install | |
parent | 26141bd435537dac5f95cdb6e6333366e2052b11 (diff) | |
download | aur-c8533ffe88132fc82bca1e589a0920c37d90f246.tar.gz |
Fix linux.install
Diffstat (limited to 'linux.install')
-rw-r--r-- | linux.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linux.install b/linux.install index 37ba37494605..c8e5a68d75ba 100644 --- a/linux.install +++ b/linux.install @@ -1,7 +1,22 @@ +display_requirements () { +cat <<-EOF + + To get suspend working properly you must do the following: + + Enable the macbook-wakeup service for suspend/resume on LID events: + systemctl enable --now macbook-wakeup.service + + Optionally, include the kernel boot option processor.ignore_ppc=1 + to allow frequency changing on battery power. + +EOF +} + post_upgrade() { if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then echo "WARNING: /boot appears to be a separate partition but is not mounted." fi + display_requirements } post_remove() { |