stage4: ignore power key and let raspberrypi-ui-mods handle it

This commit is contained in:
Serge Schneider 2023-09-14 14:50:07 +01:00
parent 3a6342b63d
commit 7ae1a26ae9

View File

@ -0,0 +1,3 @@
#!/bin/bash -e
sed -i 's/^.*HandlePowerKey=.*$/HandlePowerKey=ignore/' "${ROOTFS_DIR}/etc/systemd/logind.conf"