04-18-2022, 09:14 PM | #1 |
he/him
Posts: 21
Karma: 68
Join Date: Mar 2022
Device: Jailbroken Kindle PW3 + PW5
|
Run script on boot?
Is there a way to run a script (either a shell script in /mnt/us or a KUAL app) on boot?
Context: My PW3's hall sensor is flaky, and I would like to be able to disable it as part of the boot process rather than have to disable it through KUAL every boot. |
04-19-2022, 03:43 AM | #2 |
Groupie
Posts: 198
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
|
Moisture often accumulates at this sensor. See if there are any signs of corrosion around it. It is usually sufficient to wash it with isopropyl alcohol.
You can also disable the sensor by: Code:
echo 0 > /sys/devices/system/wario_hall/wario_hall0/hall_enable Last edited by eddie.t.h; 04-19-2022 at 04:32 AM. |
Advert | |
|
04-19-2022, 12:21 PM | #3 |
he/him
Posts: 21
Karma: 68
Join Date: Mar 2022
Device: Jailbroken Kindle PW3 + PW5
|
|
04-19-2022, 02:51 PM | #4 |
Groupie
Posts: 198
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
|
The boot files of the system are in the /etc/upstart directory. Try in the battery or display file. They start as one of the first.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best way to exec script on boot | knauck | Kindle Developer's Corner | 23 | 09-13-2022 11:08 AM |
K4 Run a Python script in background | damix | Kindle Developer's Corner | 5 | 11-12-2020 06:44 PM |
run script on wifi connect | sinisterguy | Kindle Developer's Corner | 1 | 10-18-2010 03:46 PM |
iLiad Can't run my first script | ragdoll | iRex Developer's Corner | 4 | 01-28-2008 06:40 AM |