View Single Post
Posts: 30 | Thanked: 5 times | Joined on May 2008
#1
I'm trying to write a script for Powerlaunch where if the power button is pressed twice in a row within two seconds it will disable the wifi by putting the unit into "Offline"/"Flight Mode" and then active Powerlaunch's "Soft Poweroff" command.

Here's how the script will work:

When the Power Button is Pressed:
- If a specific timer is counting down, execute the command for "offline mode" and for "soft poweroff"
-If the timer is not counting down, start it counting down from 2 seconds.

Does anyone know the specific command or programs to run to execute the "offline mode" and the "soft poweroff"