|
|
#32 |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Jan 2016
Device: Kindle 7th Gen
|
Oh wow your code is looks far more complicated lol.
I was just thinking of unpacking it and changing one of the variables to run a cat on the KT2 charging directory. Slightly off topic, but what language is all this written in, and how would I go about debugging other stuff thats crashing? Thanks for all the stuff you do in this community man. |
|
|
|
| Advert | |
|
|
|
|
#33 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
|
@Gigahawk: This, specifically (as well as a number of KUAL extensions) are basic shell scripts. (The keyword being 'shell', not 'bash', the Kindle bundles a terribly outdated version of busybox ash).
In the case of the RP/CRP, there's also an upstart job in there. Which, funnily enough, includes a shell script part xD. I honestly don't remember how the original code looked, but it's basically three lines, so... .
Last edited by NiLuJe; 02-06-2016 at 07:44 PM. |
|
|
|
|
|
#34 |
|
Member
![]() Posts: 10
Karma: 10
Join Date: Jan 2016
Device: Kindle 7th Gen
|
Ah thanks, that makes sense.
At the risk of sounding like an idiot, what exactly is "RP/CRP"? |
|
|
|
|
|
#35 | |
|
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210807
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
enter: sh -x script on the command line. or put a: set -x line in the script itself. Same-Same as Bash in this respect. |
|
|
|
|
| Advert | |
|
|
|
|
#36 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
|
@Gigahawk: RP: RescuePack; CRP: Coward's Rescue Pack.
(I tend to use a *lot* of acronyms, hopefully most of them should be transparent when used in-context, but don't hesitate to ask if something looks fishy ^^). |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rescue Pack for Paperwhite and Touch | ixtab | Kindle Developer's Corner | 108 | 07-08-2021 03:14 PM |
| How could i re-install rescue pack? | tommytian | Kindle Developer's Corner | 2 | 06-18-2013 09:41 PM |
| A problem of rescue pack for KPW | szfisher | Kindle Developer's Corner | 8 | 03-15-2013 06:50 PM |