stage4: ignore power key and let raspberrypi-ui-mods handle it
This commit is contained in:
parent
3a6342b63d
commit
7ae1a26ae9
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"
|
Loading…
x
Reference in New Issue
Block a user