1 2 3 4 5 6 7 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 }