Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-08-11 21:45:33 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-08-11 21:45:33 -0300
commit8e7601caae6ecc2af07563696281b9cb5038311c (patch)
tree3d6dd13d7989865abba69dcffe1023fe05df0289 /configs
parentab14ac64a691410be7e6296ceec0989237b0ac89 (diff)
[configs/releng] Ignore Lid/Sus/Hib switch/keys by logind
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'configs')
-rwxr-xr-xconfigs/releng/airootfs/root/customize_airootfs.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh
index ead9b70..4b595d0 100755
--- a/configs/releng/airootfs/root/customize_airootfs.sh
+++ b/configs/releng/airootfs/root/customize_airootfs.sh
@@ -15,5 +15,9 @@ sed -i 's/#\(PermitRootLogin \)no/\1yes/' /etc/ssh/sshd_config
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
+sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/systemd/logind.conf
+sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf
+sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf
+
systemctl enable pacman-init.service choose-mirror.service
systemctl set-default multi-user.target