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 }