Page 4 of 4

Re: [App] libSoftPowerOff K

Posted: Wed Sep 08, 2021 4:34 pm
by zoelechat
Otherwise you can do something like this:

Code: Select all

gdbus monitor -y -d org.tizen.system.deviced | awk '{if(/lcdon/){system("echo execute_script_on")};if(/lcdoff/){system("echo execute_script_off")}}'
Starting that command in the background from SoftPowerOff init script for example
and of course replacing "echo execute_script" by path to your script ^^
:ugeek: