|
|
#1 | ||
|
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2013
Device: kindle 4
|
Shell Script Kindle 4nt
i wrote this little script (my first one) for the kindle 4nt but it dont work. this script should turn the page after 1 minute
i connect to my kindle by ssh and make it executable "chmod +x test.sh" and i execute it with: sh test.sh her is the code: Quote:
Quote:
![]() ![]()
Last edited by nixlos; 08-12-2014 at 10:31 AM. |
||
|
|
|
|
|
#2 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Kill the brackets around the suffix in the args to sleep.
Also, possibly not the right way to do that on a K4, that looks like it was meant for a K2/3. Can't remember how to do that on the K4 OTOH. Check that your script is properly unix line endings too. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2013
Device: kindle 4
|
it would make my life much easyer...
can anyone give me a good example? |
|
|
|
|
|
#4 | |
|
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell script to randomize files in directory | Eradicatore | Kindle Developer's Corner | 25 | 04-15-2014 11:18 PM |
| invoking sql in a shell script | Mingyar | Kobo Developer's Corner | 17 | 05-31-2013 07:50 PM |
| pdf to txt shell script | Mr.Castro0o | 0 | 03-27-2013 08:39 AM | |
| Kindle 4NT | joe_bryan86 | Amazon Kindle | 0 | 12-04-2012 09:15 AM |
| Shell script to wait for user input from K3g keyboard | jmseight | Kindle Developer's Corner | 33 | 04-01-2012 05:32 PM |