summaryrefslogtreecommitdiff
path: root/pinebookpro-post-install.install
blob: 6e3a4c4188e93368eb583fd4474cea6418c6bbfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  post_install() {
    #  Enable suspend2idle
    sed -i s/"#SuspendState=mem standby freeze"/"SuspendState=freeze"/g /etc/systemd/sleep.conf

    # Edit fstab
    echo "LABEL=BOOT  /boot   vfat    defaults        0       0" >> /etc/fstab

    # Enable services
    systemctl enable acpid.service

  post_upgrade() {
    # Enable acpid
    systemctl enable acpid.service
}