View Single Post
Old 07-12-2012, 01:57 PM   #2
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by atordo View Post
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.
You can make an upstart script that triggers on whatever combination of conditions you want. Just model it after scripts in /etc/upstart. Be VERY careful, because ANY script that fails can make the rest of them NOT run, bricking your kindle.
geekmaster is offline   Reply With Quote