Re: [App] libSoftPowerOff K
Posted: Wed Sep 08, 2021 4:34 pm
Otherwise you can do something like this:
Starting that command in the background from SoftPowerOff init script for example
and of course replacing "echo execute_script" by path to your script ^^

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")}}'
and of course replacing "echo execute_script" by path to your script ^^
