Thread
:
Detect home WIFI > run command
View Single Post
Matan
2009-04-08 , 15:36
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#
3
dbus-scripts does that (available on extras repository). Just install this package, find the id of your network by looking at the output of
gconf -R /system/osso/connectivity/IAP
and create a file in /etc/dbus-scripts.d/ containing the lines:
/connectscript * * com.nokia.icd * network_id * CONNECTED
/disconnectscript * * com.nokia.icd * network_id * IDLE
(replacing network_id with the correct id and /connectscript with correct path of the script you want to run on connect.)
In extras-devel there is a package called dbus-scripts-settings which allows doing these things using a GUI.
Quote & Reply
|
The Following 3 Users Say Thank You to Matan For This Useful Post:
CVBruce
,
purg
,
qole
Matan
View Public Profile
Send a private message to Matan
Find all posts by Matan