Quote:
Originally Posted by knc1
If you plan to write a pair of KUAL buttons to change and revert that Amazon file using the patch utility . . .
|
I did write two buttons, for disable and enable the log thing. The first idea was by using patch. As I did not find it, I reverted to a simple copy of one of two previously prepared filed. But this only works for a particular version of the firmware.
The complete story would assume that the shell script should:
- detect model and firmware of the Kindle;
- based on that, state the file to be updated;
- do the update based on a simple sed command - I believe (from my K3 and K5) that the two lines to be changed are the same on each Kindle, maybe at different positions.
sed seems more flexible than patch w.r.t. applying the same change on different files.