stage4: ignore power key and let raspberrypi-ui-mods handle it
This commit is contained in:
3
stage4/07-disable-pwr-button/00-run.sh
Executable file
3
stage4/07-disable-pwr-button/00-run.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
sed -i 's/^.*HandlePowerKey=.*$/HandlePowerKey=ignore/' "${ROOTFS_DIR}/etc/systemd/logind.conf"
|
Reference in New Issue
Block a user