View Single Post
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#51
It should be easy.

Create a file called /usr/bin/disconnect, containing:
Code:
dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true
Make sure it is executable by running
chmod a+x /usr/bin/disconnect
Edit the file /usr/bin/db-orange, add at the end of the line starting with pppd call :
Code:
disconnect /usr/bin/disconnect
This option tells pppd to run this script when pppd terminates, and the script tells icd to disconnect.

If this works, I'll add it to the package, so please report.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.