diff --git a/buildroot-external/rootfs-overlay/etc/systemd/logind.conf b/buildroot-external/rootfs-overlay/etc/systemd/logind.conf index 0a13ffd21..36a0cfc09 100644 --- a/buildroot-external/rootfs-overlay/etc/systemd/logind.conf +++ b/buildroot-external/rootfs-overlay/etc/systemd/logind.conf @@ -18,9 +18,14 @@ #KillOnlyUsers= #KillExcludeUsers=root #InhibitDelayMaxSec=5 -#HandlePowerKey=poweroff -#HandleSuspendKey=suspend -#HandleHibernateKey=hibernate +HandlePowerKey=ignore +HandlePowerKeyLongPress=poweroff +HandleRebootKey=ignore +HandleRebootKeyLongPress=reboot +HandleSuspendKey=ignore +HandleSuspendKeyLongPress=suspend +HandleHibernateKey=ignore +HandleHibernateKeyLongPress=hibernate HandleLidSwitch=ignore HandleLidSwitchExternalPower=ignore HandleLidSwitchDocked=ignore