![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 89
Karma: 19669
Join Date: Apr 2012
Device: Kindle Touch
|
Kindle Touch: execute script when wifi connection is established
I'm trying to trigger a script when wifi connection goes up, so I placed it in /etc/network/if-up.d (a symbolic link to it to be specific, but I guess that doesn't matter). The script has the correct permissions, but is not executed automatically.
Anyone knows if it's possible to trigger a script when network connection is established? TIA. |
![]() |
![]() |
![]() |
#2 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 89
Karma: 19669
Join Date: Apr 2012
Device: Kindle Touch
|
Wow, that sounds scary. Thanks for the hint (and the warning), I'll have a look at /etc/upstart, and not write anything for the time being, there's much (almost all) of KT internals I don't know.
|
![]() |
![]() |
![]() |
#4 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() You will need this to get started: http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf Last edited by geekmaster; 07-12-2012 at 02:26 PM. |
|
![]() |
![]() |
![]() |
#5 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 89
Karma: 19669
Join Date: Apr 2012
Device: Kindle Touch
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch 5.1.0, How to turn on/off wifi in a script? | wisecrick | Kindle Developer's Corner | 3 | 12-08-2013 05:31 AM |
PRS-T1 Factory reset - possible to execute via script? | bookler | Sony Reader Dev Corner | 1 | 07-04-2012 12:48 PM |
Touch Nook Touch WiFi won't connect after "forgetting" connection config | el34han | Nook Developer's Corner | 0 | 07-16-2011 02:35 PM |
Kindle 3: run script when turning wifi on? | theblop | Kindle Developer's Corner | 1 | 11-09-2010 10:25 AM |
Is it possible to execute a bash script from the SD card? | godel10 | iRex | 25 | 06-25-2009 03:55 PM |