summaryrefslogtreecommitdiff
path: root/pinebookpro-post-install.install
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-03-26 19:18:31 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-03-26 19:18:31 -0700
commit6555511b51cd0778c19f144a4b9678dd72b32b90 (patch)
tree0a35e4f655b6c57fca703dc17c84eea030831c86 /pinebookpro-post-install.install
parentinstall file, microphone commmits (diff)
downloadpinebookpro-post-install-master.tar.xz
Updated to 20200322HEADmaster
Diffstat (limited to 'pinebookpro-post-install.install')
-rw-r--r--pinebookpro-post-install.install20
1 files changed, 13 insertions, 7 deletions
diff --git a/pinebookpro-post-install.install b/pinebookpro-post-install.install
index 5d1f394..6e3a4c4 100644
--- a/pinebookpro-post-install.install
+++ b/pinebookpro-post-install.install
@@ -1,8 +1,14 @@
- post_install() {
- # Edit the sleep.conf file
- sed -i s/"#SuspendState=mem standby freeze"/SuspendState=freeze/g /etc/systemd/sleep.conf
-}
-
- post_upgrade() {
- post_install
+ 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
}