systemd: logind: prevent lid close suspension

closes #2952
This commit is contained in:
Stefan Saraev 2014-02-24 19:43:25 +02:00
parent d58d129372
commit 0f55e23544

View File

@ -132,7 +132,7 @@ post_makeinstall_target() {
sed -e "s,^.*SystemMaxUse=.*$,SystemMaxUse=10M,g" -i $INSTALL/etc/systemd/journald.conf
# tune logind.conf
sed -e "s,^.*LidSwitchIgnoreInhibited=.*$,LidSwitchIgnoreInhibited=yes,g" -i $INSTALL/etc/systemd/logind.conf
sed -e "s,^.*HandleLidSwitch=.*$,HandleLidSwitch=ignore,g" -i $INSTALL/etc/systemd/logind.conf
# replace systemd-machine-id-setup with ours
mkdir -p $INSTALL/usr/bin