mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
systemd: ignore Lid Switch for logind
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ccb83fac7a
commit
d314feb60b
@ -128,6 +128,9 @@ post_makeinstall_target() {
|
||||
sed -e "s,^.*RuntimeMaxFileSize=.*$,RuntimeMaxFileSize=128K,g" -i $INSTALL/etc/systemd/journald.conf
|
||||
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
|
||||
|
||||
# replace systemd-machine-id-setup with ours
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
rm -rf $INSTALL/usr/bin/systemd-machine-id-setup
|
||||
|
Loading…
x
Reference in New Issue
Block a user