mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
systemd: ignore power button
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
6ce3be6e85
commit
bf217bc814
@ -197,6 +197,7 @@ post_makeinstall_target() {
|
|||||||
|
|
||||||
# tune logind.conf
|
# tune logind.conf
|
||||||
sed -e "s,^.*HandleLidSwitch=.*$,HandleLidSwitch=ignore,g" -i $INSTALL/etc/systemd/logind.conf
|
sed -e "s,^.*HandleLidSwitch=.*$,HandleLidSwitch=ignore,g" -i $INSTALL/etc/systemd/logind.conf
|
||||||
|
sed -e "s,^.*HandlePowerKey=.*$,HandlePowerKey=ignore,g" -i $INSTALL/etc/systemd/logind.conf
|
||||||
|
|
||||||
# replace systemd-machine-id-setup with ours
|
# replace systemd-machine-id-setup with ours
|
||||||
rm -rf $INSTALL/usr/lib/systemd/systemd-machine-id-commit
|
rm -rf $INSTALL/usr/lib/systemd/systemd-machine-id-commit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user