logind: change the power key to disabled
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 5 Nov 2019 02:51:19 +0000 (11:51 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:44 +0000 (16:37 +0100)
commitfb6d0e77677aaa662bdbb602c0c98071d2c45649
treedafb580578f748dbd5139341bb2dcd4a86dbd845
parent6752ee4c9ecb5c63ecdd934e6893a9797c147a9b
logind: change the power key to disabled

Tizen does not support power off without deviced.
So, you need to turn off the power key function in logind.

1. Disable TAG+="power-switch" uevent rules because logind uses "power-switch" uevent to recognize the power key.
2. Change default behavior for power key to ignore.

Change-Id: I0523d4cc46ce2edd05e479e9101c6d20f70b4296
src/login/70-power-switch.rules
src/login/logind.conf.in