summaryrefslogtreecommitdiff
path: root/pinebookpro-post-install.install
diff options
context:
space:
mode:
Diffstat (limited to 'pinebookpro-post-install.install')
-rw-r--r--pinebookpro-post-install.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/pinebookpro-post-install.install b/pinebookpro-post-install.install
new file mode 100644
index 0000000..5d1f394
--- /dev/null
+++ b/pinebookpro-post-install.install
@@ -0,0 +1,8 @@
+ 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
+}