g7ctrl
Managing daemon for GM7 Xtreme GPS Tracker
...It is also possible to have specific action scripts executed upon receiving specific events or generate mail notifications.
The daemon and command shell comes with extensive reference documentation (HTML & PDF) and Unix man pages.