[configs/releng] Ignore Lid/Sus/Hib switch/keys by logind
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
This commit is contained in:
parent
ab14ac64a6
commit
8e7601caae
@ -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/#Server/Server/g" /etc/pacman.d/mirrorlist
|
||||||
sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
|
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 enable pacman-init.service choose-mirror.service
|
||||||
systemctl set-default multi-user.target
|
systemctl set-default multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user